看板 C_Sharp 關於我們 聯絡資訊
如題我要計算DataGridView數量 number = dataGridView1.ColumnCount;<<<5 number = dataGridView1.RowsCount;<<<1 但我都沒有資料應該會有個是0吧!!!!:'( 但我的資料庫那內容我猜5是因為總共有5個資料(定義(姓名.編號.地址.身分證.出生地))吧!!! 請求資源:'( 感激不盡!!!>< -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 111.243.221.26
kevin888:筆數是dgv.rows.count 01/04 09:22