Gridview rowupdating method

Posted by / 01-Nov-2020 09:53

Gridview rowupdating method

Thanks to all you for answer, but the examples posted aren't my case.As I said, I create the Grid View controls dinamically, I don't have asp tags with the Gidview control. If someone could give me a couple examples / thoughts on how to do this that would be great.

But I think I can´t avoid to do this, because if I don't, the runtime created controls fade away.

The difference between your code and the code on MSDN is: - The MSDN code takes the new data from the edited row and updates the appropriate data in the To me, this is garbage, because it's so highly coupled to the order of your cells.

The Row Updated event is raised when a row's Update button is clicked, but after the Grid View control updates the row.

Last Change: More Information (@jwiscarson) I’m sorry, I was in hurry. In that project, the users could select 2 categories, enter a search string and the result will show in a Grid View. Here is my problem, if the "admin user" click on edit, change the value of the cell and execute the update, the value would not changed in the Hoo boy.

You didn't ask this in your question, but you've written some smelly code here.

gridview rowupdating method-51gridview rowupdating method-18gridview rowupdating method-58

The edit and cancel putton works just fine I just dont have any way to UPDATE the data with. Ryan why don't you post your code then and we could be in a better position to help you? Pete Net, Thanks for the quick response - after reading through a couple of articles I reverted back to the Data Grid as I was attempting before -- I'm now doing just a single master datagrid and the On Update Method that I'm going to use is do PRUpdate (and if the user wants to look at the detailed info i'm going to have a collumn with a link that will open the detailed info up as a new window) With the new page it fires off just fine, I can get to the point where the page allows me to "UPDATE" the data. Find Control("txt IDPurchasing Requisition"), System.

One thought on “gridview rowupdating method”