hi friends, i am working in VB.net...
i have a requirement of using a dropdown list/combobox in data grid for allowing user to select from the list.
how can i do that.I want to have a particular column with this option available that should be filled with data from the SQL database.
For e.g :
if following are the fields in grid view :
emp id , emp name , salary
now in this what i want is that user could select the emp id for which he wants to enter the data.
then on the basis of the selection emp name field should be filled automatically and then user enter the salary which get saved after pressing a button on form
how could i achieve that in VB.net and using SQL databse
i have a requirement of using a dropdown list/combobox in data grid for allowing user to select from the list.
how can i do that.I want to have a particular column with this option available that should be filled with data from the SQL database.
For e.g :
if following are the fields in grid view :
emp id , emp name , salary
now in this what i want is that user could select the emp id for which he wants to enter the data.
then on the basis of the selection emp name field should be filled automatically and then user enter the salary which get saved after pressing a button on form
how could i achieve that in VB.net and using SQL databse
Comment