Gridview rowupdating change value demi moore dating

Any idea on how I can extract the values contained in the cells of a specific row before going into edit mode Thanks are you trying to get the values before the gridview switches to edit mode or do you need to get the values before applying any updates to to the data?

Say you click edit, now you get some input controls, you change a couple of values, then click update.

Otherwise you will just get the control in the Item Template.

I am a little confused as to why you are programmatically querying and updating data when you are obviously using an Sql Data Source.

Replace("'", "''") & "'" End If End If Also if i use that, then upon loading of the page, it executes the SELECT command w/c gets all the data from the sql db. user either input strings or upload a text file with strings to parse. page would read the strings from either text box or text file then do a SELECT FROM from the sql db what i would like is upon loading, it wouldn't query the sql db.

Replace("'", "''") & "'" Else SQL = SQL & " OR tb_entity.entry='" & strline.If you don't use one of the Data Source controls, you are required to handle the Row Updating event. I confirmed this using Reflector: protected virtual void On Row Updating(Grid View Update Event Args e) { bool flag1 = base. This post has been edited by jpcsmit: 20 January 2010 - PM @eclipsed4utoo: Then you have not truly delved into Grid Views, grasshopper.Using Template Fields in the Grid View Control Yes there is, but that's a Bound Field, which means the user can't change the value in the Grid View.

Leave a Reply