經安全檢測,此網站為安全網站,請放心前往原始網址!

請教如何設定DataGridView只顯示指定欄位?

我拉了一個DataGridView物件在Form上 指定資料來源為DataTable 我在程式碼裡用DataGridView1.DataSource=Table1 但這樣會顯示整個Table的內容 我嘗試建立1個欄位("訂單號碼"),然後在 表單建立時 指定 DataGridView1.Columns("訂單號碼").DataGridView ...

social.msdn.microsoft.com

網址安全性掃描由 google 提供