我是VB.NET,Windows应用程序和DataGridView的新手。 这是我现在正在遭受的一个非常基本的错误。我有一个存储过程从数据库中检索数据。我将这些数据存储在DataSet中,并试图在DataGridView中查看它。我用这个代码,数据绑定这是引发错误:DataBinding错误-DataGridView Winforms
DataGridView1.DataSource=ds
DataGridView1.DataBindings()
在第二行代码是抛出一个错误:
Property access must assign to the property or use its value.
我该如何解决这个问题?
号这是行不通的。它抛出一个错误,如“DataBind不是DataGridView的成员” – Udhay
谢谢你,该链接看起来很有帮助。 – Udhay