我可以将数据行绑定到datagrid吗 [英] Is i posible to bind a datarow to datagrid
本文介绍了我可以将数据行绑定到datagrid吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要将数据行绑定到数据网格,这可能吗?你能以任何方式建议我吗?
Hi ,
I need to bind a datarow to a datagrid ,Is it possible? can u please suggest me any ways.
Thanks
推荐答案
它不能直接完成,您可以遍历该行进行绑定或使用Linq.这里发生了类似的讨论:
http://forums.asp.net/t/1301604.aspx/1 [ ^ ]
It can not be done directly, either you can iterate through the row for binding or use Linq. There is a similar discussion happened here:
http://forums.asp.net/t/1301604.aspx/1[^]
这篇关于我可以将数据行绑定到datagrid吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文