如何在前端界面操作數據表

一、數據表的顯示(通過DataGridView) ①實例化本窗體的數據表 ②SQL數據適配器讀取數據,並填數據表 ③將數據網格視圖的數據源設爲已填充的數據表 ④指定好數據源後,運行即可顯示數據表 this.Table1 = new DataTable(); sqlDataAdapter.Fill(this.Table1); this.dataGridView1.DataSource
相關文章
相關標籤/搜索