I am binding combobox with datasource, displaymember, valuemember. It is working fine in my computer but it is not working in clients pc. Following is my source code:
setting the DisplayMember and ValueMemeber after setting the DataSource fixed this issue for me.
DisplayMember
ValueMemeber
DataSource
cbxMetal.DataSource = dt; cbxMetal.DisplayMember = "alloyName"; cbxMetal.ValueMember = "alloyId";