Updating gridview in asp net 2 0 rihanna adam levine dating
Yes it is IF NOT Is Post Back, HAHAHAHA I am a more familier with VB ..missed to read that '!
NET 2.0 application that utilized a Gridview Control to display and update/delete data.
NET 2.0 application that utilized a Gridview Control | to display and update/delete data.
| | The problem I am having is that the gridview control is displaying the data | correctly but it is not updating or deleting the rows.
When the link is selected it goes into edit mode and when the row is edited I click the update link and nothing updates. Is there some settings that I need to add to the SQL database?
Incidently I have tried this a few other times with the gridview and other data from the same database and it doesn't work as well. Thanks in advance, washoetech Hi Washoetech, Welcome to ASPNET newsgroup.
This happens when I | try to delete the row as well.
| | Is there some settings that I need to add to the SQL database?
' I am marking this also as answer,,let other less understanding guys like me benefit..
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.
Regarding on the Grid View Edit/Deleting problem you mentioned, I think it may be caused by something with the Data Source's configuration.
What's the 2.0 version you're using currently, beta2 or RC?