Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 datagrid changes disapears when I hit update comma

Author  Topic 

rtutus
Aged Yak Warrior

522 Posts

Posted - 2006-06-15 : 18:43:04
I have a datagrid with Edit, Update and Cancel Commands. I populate my datagrid with my dataset data. then I do datagrid1.databind in my load event if Not page.IspostBack

When I hit Edit on my datagrid, I edit a row. But when I hit Update command, the changes disapear and my original datrow cells contents are displayed again (the same)

How do I keep the edited cells after I hit Update Command of my Datagrid row

Thanks.

rtutus
Aged Yak Warrior

522 Posts

Posted - 2006-06-19 : 00:55:46
i was n t putting the DataGrid1.DataBind in the right place
thanks
Go to Top of Page
   

- Advertisement -