将datarow数组设置为datagridview的数据源

编程入门 行业动态 更新时间:2024-10-26 20:31:27
本文介绍了将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的数据源

本文发布于:2023-11-04 17:32:54,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1558570.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:数据源   数组   设置为   datarow   datagridview

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!