GridView中的动态行 [英] dynamic row in gridview

查看:66
本文介绍了GridView中的动态行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好...

我想在GridView中动态添加行.
我必须从ListBox中选择一条记录,然后单击按钮应将其一条一行地添加到GridView中.给我一个例子的解决方案...

bye

解决方案

amitktkr写道:

giv sol wit eg ..



抱歉,这是一个英语论坛.

您是否要在客户端添加行,还是可以执行回发?是将行添加到数据库吗?


是的,我想在客户端添加而不是在数据库中....它只显示在gridview中


参考链接

http://forums.asp.net/p/1299021/2539186.aspx [ ^ ]

http://social.msdn.microsoft.com/Forums/zh/netfxjscript/thread/9c62b867-8a86-4fb8-ab50-21118939b517 [ http://www.codeguru.com/forum/showthread.php?t=446823 [ ^ ]


Hi all...

I want to add rows in a GridView dynamically.
I have to select one record from a ListBox and on a button click it should add to GridView one by one. Give me a solution with an example...

bye

解决方案

amitktkr wrote:

giv sol wit e.g...



I''m sorry, this is an english speaking forum.

Do you want to add rows on the client side, or is it OK to do a postback ? Do the rows get added to a database ?


yes i want to add on client side not in database....it shud show only in gridview


Refer the links

http://forums.asp.net/p/1299021/2539186.aspx[^]

http://social.msdn.microsoft.com/Forums/en/netfxjscript/thread/9c62b867-8a86-4fb8-ab50-21118939b517[^]

http://www.codeguru.com/forum/showthread.php?t=446823[^]


这篇关于GridView中的动态行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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