How to update value of combobox in editItem mode
-
Hi guys, Thanks for the help previously for helping me to display combobox in editItem mode. I have a followup question, which is how do i update my database if the user had changed the value there? And how do i set the combobox to show the retreive value from the database ? Thank you everyone....;) AaronNeo
-
Hi guys, Thanks for the help previously for helping me to display combobox in editItem mode. I have a followup question, which is how do i update my database if the user had changed the value there? And how do i set the combobox to show the retreive value from the database ? Thank you everyone....;) AaronNeo
To Save data from combo box. a> Iterate each row of the Gridview find the dropdown control in the gridview row using control id, get the selected value and update the value to the database. b> Set the auto-post back of the dropdown to true and handle the selected change event, get the value and update it to the database. To bind the control. a> Set the datasource property at design time only by calling a server side function which returns a datatable or dataview object. b> Or handle the row created event of the grid view, get the dropdown from the gridview row, set the datasource property. Regards, Prakash Kalakoti
-
Hi guys, Thanks for the help previously for helping me to display combobox in editItem mode. I have a followup question, which is how do i update my database if the user had changed the value there? And how do i set the combobox to show the retreive value from the database ? Thank you everyone....;) AaronNeo
I allready replied for this... Check it out...
Sherin Iranimose