Updating gridview in asp net why internet dating doesnt work
This in turn means any customizations to the data (e.g. To avoid that problem, wrap the call to Data Bind in a check for Posat Back. Hope this helps, Imar --------------------------------------- Imar Spaanjaars Then bind to the collection using the pageload event and when page.ispostback = false.The only other time you'll need to call the bind method is when you change the data.NET Architecture MVP (Microsoft Most Valuable Professional) works as an Architect Consultant and provides consultancy on how to design and develop Web applications.
A common requirement is to refresh the Grid View after regular intervals. NET contains the Timer control which comes in very handy to achieve such requirements.
The problem is, that when I press update with a breakpoint on Sql Data Source. This prevents the grid from updating for some reason. Hi there, When you call Data Bind in Page_Load, you tell your controls to data bind. NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004My advice would be to steer clear of the sqldatasource and use a 3-tiered approach to retrieving, displaying and collecting data.