private void LoadTableDataGridView() { DataTable dt = SQL.ShowTables(providernm, dbname); TablesGridView.DataSource = dt; TablesGridView.DataBind(); }
private void LoadData() { table = new Tables(); table.ShowTables(); TablesGridView.DataSource = table.DataTable; TablesGridView.DataBind(); Message.Text = table.Message; }