Friday, October 10, 2008

Fully Editable GridView in ASP.NET 2 using C#

Fully Editable GridView in ASP.NET 2 using C#


This article describes how I made a fully editable gridview in C# using ASP.NET 2. The idea is that the GridView looks and works like an Excel spreadsheet. You see all the cells in the table, and you can edit any of the cells you like, and they are automatically updated (i.e. saved to the database). This is very often how people expect data tables to work in web pages, and I've often seen people clicking in vain on un-editable gridview cells, somehow expecting to edit them, and not understanding that they need to click an Edit button at the end of the row.

note:"Tested code"

2 comments:

Saiful Alam said...

Nice post...

Dusty said...

here is another good example: http://laymensterm.blogspot.com/2008/12/simple-aspnet-vbnet-database-connection.html