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.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.The Contoso University sample web application demonstrates how to create ASP.NET Web Forms applications using the Entity Framework 4.0 and Visual Studio 2010. jinal, sorry, I just noticed I didn't reference the grid View, which explains why it doesn't like the Rows comment. Robert, your example didn't error, now I just need to figure out how to bind it to the datasource. Now that the checkboxlist is there I need it bound to the database behind the gridview, and on submit, write approve or deny to the database for the rows that have selections made. is that your submit button is per row or single in page ? It will directly call the sorting handler of the child grid.
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.
If you didn't complete the earlier tutorials, as a starting point for this tutorial you can download the application that you would have created.
You can also download the application that is created by the complete tutorial series.
The business logic class includes both business-logic methods and data-access methods, but the data-access methods call the repository to perform data-access tasks.
You will also create an abstraction layer between your BLL and DAL that facilitates automated unit testing of the BLL.
And one thing I have found that if you did not write handler of edit, delete, update, sort, page command it will give error because when you press Edit Command of Child Grid it will find for the Row Editing Handler of child grid even if you are doing your all the activity in Row Command event. Here one thing is important is that in Row Command event of Child Grid you will get the old values in the grid means viewstate of the grid.