Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个简单的 DataTable,如何将其中的所有内容显示到 gridview 中?
public void BindData(DataTable tbl) { this.dataGridView1.DataSource = (...)? }
帮助表示赞赏
尝试这个:
gridview.datasource=tbl;