Wednesday, August 11, 2010

How to Edit Data in GridView using ASP.NET and VB.NEt?

_______________





I have pulled data from SQL Server into a datagrid control.


I have Edit buttons. But, when I clicked on one, and then try to edit data in that row, the data is still in read-only mode.





What must I do to solve this problem?





_______________How to Edit Data in GridView using ASP.NET and VB.NEt?
Here's how its done:





http://quickstarts.asp.net/QuickStartv20鈥?/a>





Check the last example.


Hope this helps.How to Edit Data in GridView using ASP.NET and VB.NEt?
The data retrieved for the gridview MUST have a single-field primary key ,or no go.





The CommandName for the button or link MUST be ';Edit';.





Good luck.

No comments:

Post a Comment