The Bind Grid() method is our own function that we will create later on.
The method essentially binds the Grid View with a Data View.
In this event, we have to add the Selected Value of C1Combo Box in the new Values collection of the eventargs.
The new Values collection of the eventargs is then used to add parameters in the Update Parameter collection of Update Command for Access Data Source to which C1Grid View is bound.
The Data View supplies all the records from the Employees table.
In order to implement paging you need to set Allow Paging property of the Grid View control to True. There are two events of Grid View that are related to paging.
Following code shows the implementation of Row Data Bound event.
When the user selects a new value from C1Combo Box and update command button is clicked, Row Updating event is raised.
I've harped on about it before, but there be dragons with going too deep with the Webforms.
Edit: Here is the docs: thanks Da RKo N_, but the problem with .
We will bind C1Combo Box in each row using the Row Data Bound event of C1Grid View.
Selected Value property is set to make the C1Combo Box show the value for that particular row from datasource.
Shame I haven't written code to use this event though – the code I am working with has come from a Data Grid in .net1.1 where that event didn't even exist if I remember right.