Asp net gridview rowupdating oldvalues
To finish up then one has to set the Sql Data Source Update Parameters to the desired values. The syntax for doing so is: Protected Sub GVSupport Info_Row Updating(sender As Object, e As System. The problem is, I’d very much like to do so, if ASP. But I can’t set a Data Source property or anything on the Sql Data Source!!! I probably have to read the cells on the Grid View of the selected row, find the controls, get the values from those and insert those into my Data Set.Which means I won’t make my 70% code reduction Microsoft has always promised me.
For example a Sql Data Source, which is automatically added to your Web Form if you drag-n-drop your way around Visual Studio 2005.
tbl Set Marks: Class, Section, Admission No, Subject ID, Subject Code, Max Marks, Marks I want to update marks inside gridview using edit command button.
when I update the record It performs updation on the above row instead of desired row.
A friend asked me to help him out on this and frankly it has me completely stumped as well.
I have a Grid View control and use old style manual binding with a Data Source property and invoke the Data Bind() method.