Click to See Complete Forum and Search --> : Edit Grid View using C# Code


samirweb
08-25-2007, 01:07 PM
How to edit Grid View ( add, delete , update) in C# asp. net?

lmf232s
08-30-2007, 03:44 PM
You just need to do a google search on this. Here are some links. Post back if you have problems or questions getting an example to work.

Also note there are 2 ways to go about this. You can do this with codebehind or you can add a datasource to your .aspx page and do it through the datasource. Im not to familar with this technique as I do it with code behind but I'll give you links to both.

http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/data/gridview.aspx
http://www.codeproject.com/useritems/GridView_with_insert_line.asp
http://www.gridviewguy.com/CategoryDetails.aspx?categoryID=7
http://www.gridviewguy.com/ArticleDetails.aspx?articleID=83
http://www.gridviewguy.com/ArticleDetails.aspx?articleID=98
http://fredrik.nsquared2.com/viewpost.aspx?PostID=155

and you can also just google 'gridview Insert', 'gridveiw delete', 'gridview update', '.net 2.0 gridview', etc