Rowupdating oldvalues Free jasmine live ca

It is only the answer if you never change the header text in the gridview.The asker of the question wanted to get the database field name by index.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.Here, we set the Data Source of the Grid View to Sql Data Source1. We also enable paging, sorting and editing features of the Grid View.By default when the Grid View controls goes in edit mode, it displays Text Boxes for entering values.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.

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.

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

And it will not call the Row Data Bound of Master Grid so your child edit grid for that particular row will not bind to datasource. Now, here you in Row Command of child grid you have to rebind the grid with the datasource.

Data Table dt = new Data Table(); foreach(Data Control Field Header Cell column in your Gridview. Cells) //Make sure you do all this after your Gridview.

Data Bind(); //If you do not want to bind data first simply bind an empty list like so: /* your Gridview.

Leave a Reply