I want to bind database value to combo box in C# windows form. I know this is a common problem for begginers. I search in the internet about this. Acoording to that I modified my code. But my problem is, it is not raised any error message and data not fill to combo box. (Mentioned database table has values. It is not empty) This is my code,
ds = commm.GetDataSet("SELECT * FROM StudentTable");//Get dataset (This is working well)
comboBox1.DataSource = ds.Tables[0];
comboBox1.DisplayMember = "Stu_Name";
comboBox1.ValueMember = "Stu_ID";
It is not loaded data to combo box.