To use rowupdating cms dating website

I have the following code below in my Grid View1_Row Updating event. Maybe after midnight today, or sometime this weekend. When I go to configure the datasource for my Object Data Source, on my first screen where I designate the business object, my dropdownlist is blank. Turns out getting the DAL, BLL, and the Object Data Souce in place, did the trick. Tracing the code, using both methods above, the value of the textbox is not being passed back; it doesn't appear in the newvalues either. That probably needs to be linked into the Object Data Source along my Get Products, as well as the Add Products, and Delete Product methods. Problem is, I don't have the time at the moment yet. And back to my original question, how to I get the new value? I have a gridview, go into edit mode, enter a value in a textbox, then click update.

to use rowupdating-18to use rowupdating-86

Find Control("list Box Product"), List Box) If Not ddl Is Nothing Then ddl. Controls(0), Text Box) If Not price Is Nothing Then price.

If the grid is already in Edit mode, I don't need to enable/disable, logically speaking.

Enabled = allow Admin Edit End If Dim price As Text Box = CType(e. Read Only = Not allow Admin Edit End If Moral of the story is I bypassed the Row Created functionality in the event of an update being triggered.

I must be missing something here, but I can't figure out what it is. Hi, I've have this problem before, the only solution i've found is to use only one templatefield with divs with fix width to simulate columns, and use only one Edit Item Template. In there, I enable and disable fields based on access levels etc...

Couldn't figure out why but like this i can retrieve the updated values with the same code that didn't work with several Template Fields. Hi all, I have been struggling with this issue for about 6 hours.

Last modified 03-Jun-2015 09:07