Problem While Using DataSource Property
- by narmadha
Hi, I am using DataSource Property to Bind the data into ComboBox using C# in the following manner:
ComboBox1.DataSource=dt;//dt is the datatable which is having the values
ComboBox1.DisplayMember="column1";
ComboBox1.ValueMember="column2";
The Problem is that i having all the values in the DataSource of the ComboBox1 i.e.totally five values,But the ComboBox1 count is 1 ,Dont know Why?Can anyone help me,Thanks in advance....................