;

DataGridView  类,ListBox等控件支持标准的   Windows   窗体数据绑定模型。这意味着数据源可以是实现下列接口之一的任何类型:   
IList   接口,包括一维数组,ArrayList也是。   
IListSource   接口,例如,DataTable   和   DataSet   类。   
IBindingList   接口,例如,BindingList   类。   
IBindingListView   接口,例如,BindingSource   类。   
如果把其它的东西当做数据源,就会出现上面的错误。   

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-25
  • 2021-06-25
  • 2021-12-20
  • 2021-11-24
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-16
  • 2021-06-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案