Gridview rowupdating commandname Sex massenger
Have you re-written your Grid View_Row Updating event?2) Is there something like Text Box without any values?Dear All, In Row Updating event of a Grid View I am trying to update the database picking the values of bound text Boxes in the Edit Item Templates. I confirmed update works by giving some other text vlaues instead of those retrieved from TB1, TB2, and TB3. I checked your code, it is working very good; below example of the code I used here... But Values retrieved from the tex Boxes are old values (not the newly typed in values in Edit mode) So in effect no updating is happening.
At that point I have the data I need to be on my way and do my business logic (which in this case is very simple).The problem with the button field is that it's very limited in functionality.If you need custom text for the caption you can't do that because databinding expressions are not allowed.Approved which would yield True or False only though) and a Data Format String that can in some cases make this work but for a more dynamic scenario as above that still doesn't do the trick.
Template Columns and Commands If something more dynamic is required you need to use template fields.
Tell me where I have gone wrong and Please suggest some ways to fix this problem. Here, when click Edit button on "C" row, and modified values from f1C to f1CXX; and in the rowupdating method, it is getting f1CXX only... I am getting some problems in the code you posted aslo.