我可以将数据行绑定到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[^]