-Frinny Hi all, I seem to be having the same issue but I don't quite follow the trouble with the above post. Can you explain the T/S a little more or maybe point me to another post that may have already covered it? Hi all, I seem to be having the same issue but I don't quite follow the trouble with the above post. Can you explain the T/S a little more or maybe point me to another post that may have already covered it? It's quite common that people create the data source and bind this source to the Grid View in their Page_Load() method.
What happens with this is that the source is being created every time the user submits the page.
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.
If you do this, your Grid View's source will be refreshed before you're able to grab the new values out of it. Sql Client; public partial class _Default : System. 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... For example: if the value of the description was "Hello how are you" and then the users hits Edit and changes this value to " am fine", in the C# file, the value obtained in the string description is still "Hello how are you". Now I moved this binding after querying module into the (! Is Post Back and click edit on the grid I no longer see the grid. How can I obtain the new value in string description?