The basic idea behind this article is to workout with ASP. Though I had faced lot of difficulties in this but still I can say it is far better then ASP. Grid View control gives you Edit, Update, Delete, Sorting, Selection and Paging facility built in.
so if you are binding it in page_load then move that code into if(! Is Postback) the function load_data() connects to database and binds the data to datagrid.
So, the first time the page is loading, it is displying me the data.
But this functionality is some what different in Grid View Control. I mean to say that in Grid View Control if you have added one template column having Grid View inside it and now if you select "Column Sorting" command then it will not call any event of Master grid.
It will directly call the sorting handler of the child grid.
I can't figure out how to get it to update with the new value that is entered.
It appears to be the value that's already in the textbox.It is up to the user to take advantage of this feature. Here I have one Master Table which is bind to the Master Grid using Master Data Souce and one Child Table which is bind to Gridview inside template column of Mastergird.To bind the Child Grid to Child Data Source we have to use Row Data Bound event which is called every time when each row from database is bind to the Grid View's row.Maybe you can see the difference with your own page.protected void Page_Load(object sender, Event Args e) protected void Grid View1_Row Editing(object sender, Grid View Edit Event Args e) protected void Grid View1_Row Updating(object sender, Grid View Update Event Args e) Superguppie.Please remember to click “Mark as Answer” on the post that helps you.