Net1.1 's Datagrid call the Item Command of Mastergrid.

gridview1rowupdating findcontrol-43gridview1rowupdating findcontrol-70gridview1rowupdating findcontrol-69

When I click save instead of saving to second page the first page row gets modified.

Example if i click edit in 2nd row of 2nd page and after i click update, the 3nd row of 1st page is modified with the new value and not the 2nd row of 2nd page.

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.

Net 2.0's Grid View Control than the Data Grid Control in ASP. As I had worked with Data Grid Control so I knew how difficult to work with it in same project. The main difference between Data Grid and Grid View control is that the first one has central event handling which means any event raised by control inside the Data Grid's template column will be handled by Item Command event of datagrid.

In this article, We will see how to use Grid View control in VB. We will use SQL Client data provider to provide database connectivity.

Before you can use any classes related to SQL Client data adapter, we need to import the Sql Client namespace in your application by using the following using statement.Now, the biggest problem with this child grid is that each and every event you to write manually because grid will lost it's binding when any command is get fired. Net1.1's datagrid child grid's handler will get called when any command of childgird get fired like Edit, Delete, Sorting, Paging. Net1.1 Data grid's Inner control's event will be first handled by Grid's Item Command event irrespective of whether that control is Data Grid, Button, List Box etc.But here it will not call the Row Command event of Master Grid it will directly call Row Command event of Child Grid. Now it will call Row Data Bound of Mastergrid here you will find the whether the Row State of particular Row is edit then you will find Child Grid with Edit and Delete Command in the Edit Tempalate of Template Column. When you press Edit Command of Child Grid it will Row Command of Child Grid unlike ASP.This article is very useful to all the users who are working with ASP. Here I am explaining how to work with Grid View control in ASP.Net 2.0 which is very easier then Data Grid Control in ASP. I will also explain what are the differences in Grid View and Datagrid Control in ASP. I want to explain how to work with template column having datagrid inside. Net 2.0 Grid View control is too good, easy and very user friendly.Here you will find that you have to handle every command manually for the child grid because you are continuously changing binding of child grid.