Introduction:
I will explain select multiple table in asp.net.
Example:
selectSQL = "SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES";
cmd = new SqlCommand(selectSQL, con);
con.Open();
reader = cmd.ExecuteReader();
while (reader.Read())
{
comboBox1.Items.Add(reader.GetString(0).ToString());
}
reader.Close();
0 comments :
Post a Comment