DataGrid and DropdownList
-
Hi to All, I put DropdownList inside the DataGrid. I want to bind that DropdownList. Values from Database. When, I select the values on that DropdownList, the values of DataGrid should be change.... Please help me soon, Mohan balal
filling the dropdownlist logic should be written inside the datagrid's itemdatabound event! Now, when you add the dropdownlist in the datagrid give he autopostback property as true for the dropdownlist and then when the selection is changed you have to rebind the datagird according to the value selected in the dropdownlist, this logic would go in the itemcommand event of the datagrid!
Gautham
-
filling the dropdownlist logic should be written inside the datagrid's itemdatabound event! Now, when you add the dropdownlist in the datagrid give he autopostback property as true for the dropdownlist and then when the selection is changed you have to rebind the datagird according to the value selected in the dropdownlist, this logic would go in the itemcommand event of the datagrid!
Gautham