updating, deleting records in ASP.Net

Discussion in 'ASP.NET / ASP.NET Core' started by BLeary, Mar 29, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi,
    I have info on a form that I would like a user to be able to go in after the fact and edit if they need to (ie - user account info). I know how to update and delete records using a datagrid, but using a datagrid wont look to good. I want it to look like the form that a user originally submitted only with edit functionality. I have all the form info stored in a SQL Server database. Would a using a repeater work ? any tips on how to do this would be greatly apreaciated. Also, I noticed you could edit this post. Something like this is what I need to do.
    Thanks
    Brian
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    hmmm..

    using a datagrid is probably the best bet.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. after doing a little more research, the repeater wont work because it doesnt have the editing capabilities of the datagrid or the datalist. I'm going to try the datalist because I want more flexibility with how the data looks.In the datagrid, I believe you can only show data horizontally where in the Datalistyou have more flexibility.

    I'm just curious, in this forum you can edit your posts. What control is used for this functionality ?
    Thanks
    Brian
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    brian,

    this is a commercial product and we are not familiar with the code.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  5. I found a good site with examples of how to do what I want.
    for anyone interested the site is
    http://www.superexpert.com/default.aspx?id=242

    Its full of examples on how to edit records via a datalist or a datagrid.
    Thanks
    Brian
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page