![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a Gridview which have 3 boundfields and 6 templatecols with imagebuttons. I would like to use this grid with different dataset and must therefore change the datafield of each boundfield based on the dataset, how do i do that at runtime ? Regards Keld |
#3
| |||
| |||
|
|
Msdn wrote: I have a Gridview which have 3 boundfields and 6 templatecols with imagebuttons. I would like to use this grid with different dataset and must therefore change the datafield of each boundfield based on the dataset, how do i do that at runtime ? Regards Keld I think you can do it by setting AutoGenerateColumns=True (and removing the boundfields). The grid will generate a column for each field in the dataset. -- Riki |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |