Updating gridview in asp net

Rated 4.63/5 based on 740 customer reviews

This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. By joining today you can post your own programming questions, respond to other developers questions, and eliminate the ads that are displayed to guests. I'm trying to do some very simple databinding with a Grid View but can't get it to update.

NET 2.0 Professional section of the Wrox Programmer to Programmer discussions.

updating gridview in asp net-50

updating gridview in asp net-89

updating gridview in asp net-42

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.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 Grid View control with simple Data Set or Data Table, and also explains the methods like Insert, Edit, Update and Delete function in the Grid View control.You can see most of the articles and tutorials in many websites teach you the way to bind a Grid View control to the database with some Data Source controls such as SQLData Source, Object Data Source, Access Data Source and even XMLDatasource.

Leave a Reply