在gridview中添加行 [英] add rows in a gridview
本文介绍了在gridview中添加行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我有一个网格视图,前面绑定了一些行。但是我想再次动态地从其他gridview添加一些行。有人请帮忙做这个......
谢谢大家
解决方案
你可以查看这个。
试试这个:
myGrid.Rows.Add(col1Value,col2Value,col3Value,...);
查看此:将选定的Gridview行移至Asp.net中的另一个Gridview [ ^ ]
hello,
I have a gridview with some rows bound previously. But again I want to add some rows from an other gridview dynamically. Some one please help to do this...
Thank You all
解决方案
you can check this.
Try this:
myGrid.Rows.Add(col1Value, col2Value, col3Value,...);
See this : Move Selected Gridview Rows to Another Gridview in Asp.net[^]
这篇关于在gridview中添加行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文