![](/img/trans.png)
[英]Binding a collection inside a data source object to a DataGridView in C#
[英]How to retrieve the data source from a datagridview generated without a binding source C#?
我的代碼中有一個 datagridview。 我已經通過我的程序結果將數據添加到 datagridview 中。(沒有數據/綁定源)
即dataGridView1.Rows.Add("var1", "var2", "var3");
如何將顯示的數據恢復為該 datagridview 的數據源?
我可以這樣寫.. dataTable.Rows.Add("var1", "var2", "var3");... 用於制作數據源
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.