示例#1
0
    private void LoadTableDataGridView()
    {
        DataTable dt = SQL.ShowTables(providernm, dbname);

        TablesGridView.DataSource = dt;
        TablesGridView.DataBind();
    }
示例#2
0
 private void LoadData()
 {
     table = new Tables();
     table.ShowTables();
     TablesGridView.DataSource = table.DataTable;
     TablesGridView.DataBind();
     Message.Text = table.Message;
 }