Hi Promod,
Try this,
String Usertype = UserType_CMBbox.SelectedValue.ToString();
UserName_CMBbox.DataSource = null;
DataSet ds = new DataSet();
SqlConnection con = new SqlConnection();
con.ConnectionString = "Data Source=PROMOD-PC;Initial Catalog=Unicella_Data;Integrated Security=True";
con.Open();
SqlDataAdapter adpi = new SqlDataAdapter("Select distinct User_Name from Login_Table Where User_Type='" + Usertype + "'", con);
adpi.Fill(ds);
UserName_CMBbox.DataSource = ds.Tables[0];
UserName_CMBbox.DisplayMember = "User_Name";
con.Close();
I hope this will help you.
Thank's
Mohan G