|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
"Single record" edit controlHi.
Is there a built in control that can handle editing a single record? For example, I can edit a single row within the context of a DataGrid, but I want instead to be able to click an Edit button in the grid which will then take me to a new page to edit the values for that record. I don't want to edit records inline as only a few summary fields are shown in the grid itself. I realize there are many third party tools that claim to do this, or I could write it myself, but I wanted to know if there are any built in solutions. Cheers, Mike If you're using ASP.NET 2.0 there's the DetailsView and the FormView. They
both also support inserting new records. I don't know if one for ASP.NET v1.x, so that's something we've traditionally had to build manually. -Brock http://staff.develop.com/ballen Show quoteHide quote > Hi. > > Is there a built in control that can handle editing a single record? > > For example, I can edit a single row within the context of a DataGrid, > but I want instead to be able to click an Edit button in the grid > which will then take me to a new page to edit the values for that > record. I don't want to edit records inline as only a few summary > fields are shown in the grid itself. > > I realize there are many third party tools that claim to do this, or I > could write it myself, but I wanted to know if there are any built in > solutions. > > Cheers, > > Mike > Mike, thanks to the WONDERFUL Dino Esposito, you can do this in ASP.NET
1.x. Here is an article on MSDN that he wrote for exactly this purpose: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/detailsview.asp Jason Bentley http://geekswithblogs.net/jbentley
Searched Datagrid with Paging?
Using Server.Transfer with HyperLinkColumn in a datagrid 5th Re-Post with NO RESPONSE FROM MS! Questions concerning detailsview or datagrid ASP.NET 2.0 How to capture CheckChanged event from Radiobutton in Datagrid? radiobutton and datagrid Showing x to y of z records Fonction de recherche dans un datagrid Handling events for Checkbox in Data Grid search function on different page selected |
|||||||||||||||||||||||