Anna

Anna

  • NA
  • 1
  • 0

Unable to set value on my dropdownlist control using formview control

Oct 2 2008 10:18 PM

Hello: I've been stuck for a few days now...this is my first C# app (have only coded in vb before). ...anyway,

the default mode in my formview control is the insert mode. after loging on, my page w/ the formview and dropdownlist control displays. I pass in the user's activity and I am able to ...on page load, to set the value of my dropdownlist control to the activity that's passed in.

when I click on the save link button, it saves my data; however, I am trying to set the value in my dropdownlist control to the same activity ...just like when the page first loads. When I debug, I see that it's going into my insertitem event and it's getting the value for activity - but it doesn't set the value of the dropdown and I can't for the life of me firgure out why??? why??? why????

I would truly appreciate any direction or ideas....

thanks,

Proctor

 

also, I'm new to this forum...is there a way to insert code?