con = new SqlConnection(cs); con.Open(); string ct = "select distinct RTRIM(FeeID) from FeesDetails "; cmd = new SqlCommand(ct); cmd.Connection = con; rdr = cmd.ExecuteReader(); while (rdr.Read()) { DropDownList2.Items.Add(rdr[0]); } con.Close();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)