Gridview rowupdating get id directdatingsummit com

by  |  04-Aug-2017 15:16

gridview rowupdating get id-15gridview rowupdating get id-35gridview rowupdating get id-26

How do I get the old values in a gridview row in the row_updating event? But it doesn't work for index items greater than 0. Must be non-negative and less than the size of the collection.

I'm using a sqldatasource control to populate the grid and want to write the update code in the Row Updating event. I can get the value of the first field using string old_Category = e.

Time Entry Duration Hours FROM dbo.aspnet_starterkits_Time Entry TE inner join dbo.aspnet_starterkits_Project Categories CAT on TE. Category ID inner join dbo.aspnet_starterkits_Projects P on CAT. Time Entry User ID=(SELECT User Id FROM dbo.aspnet_Users WHERE User [email protected] Name)) Source pivot (max(Hours)for DOW in ([1],[2],[3],[4],[5],[6],[7]) ) as pvt" Old Values Parameter Format String="original_" Use the Old Values property (dictionary) to access the original values of the fields in the row to update.

The Data Table Columns are Drawing ID, Cust Drawing Nbr, Job Order ID, Status ID, PGMAID, Seq No. can determine the index of the row that was clicked.

Add(New Data Column("Col1_TOIL", Get Type(String))) dt.

Community Discussion