将datarow数组绑定到网格 [英] Bind datarow array to grid

查看:86
本文介绍了将datarow数组绑定到网格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


有没有任何方法可以将数据行数组直接绑定到网格中而无需迭代.或到没有循环声明的数据表.

如果有人知道,请帮助我

谢谢

Nidhin

Hi
Is there any way to bind the datarow array directly into a grid without iteration. Or to datatable without loop statment.

If any one knows please help me

Thanks

Nidhin

推荐答案

nidhinp25写道:
nidhinp25 wrote:

有什么方法可以绑定数据行数组直接进入网格而无需迭代.

Is there any way to bind the datarow array directly into a grid without iteration.



C中没有数据网格,yiou的意思是将其标记为C#吗?

你是什​​么意思,没有迭代?




There are no datagrids in C, did yiou mean to tag it C# ?

What do you mean, without iteration ?


nidhinp25写道:
nidhinp25 wrote:

或到没有循环声明的数据表.

Or to datatable without loop statment.



为什么不能使用循环?设置网格的数据源是一行代码,不需要循环.



Why can''t you use a loop ? Setting the datasource of a grid is one line of code, no loops required.


我得到了答案

可以将datarow数组添加到数据集中,使用该数据集我们可以直接绑定数据表

无论如何,谢谢
I got the answer

The datarow array can be added to dataset, using the dataset we can directly bind the datatable

Anyway thanks


这篇关于将datarow数组绑定到网格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆