Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.
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.None of the event handlers specific to insert operation solely have been implemented! Hi, I have followed your codes, but once I click on the Edit button, event on Row Edit of gridview doesn't fire at all. when i update one row then only updated rows display in gridview, at the same time datatable have all rows present what is problem pls give me soln on [email protected],given that you made an amazing work im having problem updating a record with boolean value. However i had to fit the code to work with Odbc should i change the values for true/false?It is just the utilization of the event handlers for edit operation, but with common sense, which, as elders say, is not common! Then I decide to use Autogenerate Edit Button of Gridview, but I can't get the control of the gridview after I click on updating. thanks a email is [email protected], The sample code is simply great and also the explanation on the code was really very useful. I also noticed the boolean fields, while in edit mode show a text box, how can i have em show a checkbox instead?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.