unote 書けば書くほどに

20221218

//クラスのインスタンス
DBAccess dba = new DBAccess();

//SQL設定(将来的にList化)
string strSql;
string SQL1_AAA = "select * from DEPT";
//string SQL2_BBB = "select * from DEPT_BK";

strSql = SQL1_VXBBA;
dba.TableShow(strSql);
//cmd.ExecuteNonQuery();

これを数文繰り返す
dataGridView1.DataSource = dba;
Console.WriteLine("完了");