bind data from textboxes to griview
-
hi, Is there some way in which i can bind the data of the textboxes,dropdownlists in a gridview,make it available for editing and then finally send it to the database. the user should be able to see all the data that he has entered in the textboxes (temporarily)
-
hi, Is there some way in which i can bind the data of the textboxes,dropdownlists in a gridview,make it available for editing and then finally send it to the database. the user should be able to see all the data that he has entered in the textboxes (temporarily)
Flavia A wrote:
the user should be able to see all the data that he has entered in the textboxes (temporarily)
Gridview having its inbuild features of that. Are you looking for something different ?
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
Flavia A wrote:
the user should be able to see all the data that he has entered in the textboxes (temporarily)
Gridview having its inbuild features of that. Are you looking for something different ?
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
i guess the data can be retreived from the database in a gridview then the data can be edited and sent back to the database.But what i want is in one form if there are 2 textboxes and 3 dropdown lists the data selected in the dropdown and text boxes should be available in the gridview or something similar for editing before going into the database and later it can go into the database.ie a temprory storage which later gets finalized and then sent to the database. This is possible in the window application using datagrid.
-
i guess the data can be retreived from the database in a gridview then the data can be edited and sent back to the database.But what i want is in one form if there are 2 textboxes and 3 dropdown lists the data selected in the dropdown and text boxes should be available in the gridview or something similar for editing before going into the database and later it can go into the database.ie a temprory storage which later gets finalized and then sent to the database. This is possible in the window application using datagrid.
See, You can fetch data into DataGrid as u like. U can use templates to put custom controls,just like u told abt textboxes & ddl.After that u can edit the data as u like using ButtonField like features of DataGrid. Is it so in ur way? :)