将datarow数组设置为datagridview的数据源 [英] setting datarow array as data source of datagridview
本文介绍了将datarow数组设置为datagridview的数据源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨..我有一个数据行数组dr [],我想将其设置为
的数据源
数据网格视图,当我这样做时,会得到空白行.实际上行中有值..
Hi.. i have a datarow array dr[] , i want to set it as a data source of
data grid view , when i doign so am getting blank rows..actually there have values in rows..
推荐答案
发布您如何使用datarow[]
as的代码girdview的数据源.那里肯定有一些错误...在数据绑定之前检查源的值是什么?数据行值是否分配正确.
Post your code of how you used datarow[]
as a datasource of girdview. There must be some mistake there... Check before databinding what is the value of the source? Whether the datarow values were assigned properly or not.
这篇关于将datarow数组设置为datagridview的数据源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文