且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

GridView中的动态行

更新时间:2023-12-06 15:40:28

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[^]