the program is for the attendance absence holidays of employees in the company
so i created a combobox column in the datagridview beside the holiday checkbox so when the dataentry check the holiday checkbox he can choose what type of holiday is this to subtract it from the employee holiday counter
i need to fill this combobox column with values returned from a database, i returned those values within a dataset but i need to know how to bind this dataset to the combobox
in normal combobox i used
Expand|Select|Wrap|Line Numbers
- combobox1.datasource = DS.table[0];
- combobox1.displaymember = "Employees_name"; //for example
in normal comboboxes i write
Expand|Select|Wrap|Line Numbers
- combobox1.text = "Casual";
thx a lot for ur time reading this .. really appreciate it :)