Kanimozhi Shivakumar

Kanimozhi Shivakumar

  • NA
  • 293
  • 143.7k

How to set saved data in DataGridView Combo box

Oct 25 2021 9:18 AM

Hi All,

I have datagridview in my project which includes combo column . 

I need to load data to combo from master table 

e.g:- I have employee details datagrid in which i have to select which department the employee belong to.. the combo box will loaded department name from department master..i have selected the department and saved the employee details..the employee table which consist only department id.. After save employee data i should load the combo with all departments and should display only respective department name for saved dat..if user wish to change the department we should allow..

In this scenario how should we handle.. if anyone knows please share the code ..


Answers (3)