动态向表添加新行 [英] Dynamically adding new row to a table

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

问题描述


在我的应用程序中,我在aspx页面中使用了一个html表,它包含四个片段,每个片段都包含一个表格.每当我在一个片段中按下添加按钮时,都应该在所有片段中添加新行.怎么可能?请帮帮我.

谢谢

Hi,
In my application i used a html table in aspx page,it contains four fragments each fragment contained a table.whenever i press the add button in one fragment it should add a new row in all fragments.how it possible? Please help me.

THANKS

推荐答案

在按钮中单击为每个表创建新行并添加它.
http://msdn.microsoft.com/en-us/library/system.web.ui.htmlcontrols.htmltablerowcollection.insert.aspx [ http://stackoverflow.com/questions/6799167/add-new-row-to-table [ ^ ]
In the button click create new rows for each table and add it.. Refer this.

http://msdn.microsoft.com/en-us/library/system.web.ui.htmlcontrols.htmltablerowcollection.insert.aspx[^]

http://stackoverflow.com/questions/6799167/add-new-row-to-table[^]


hii,
请参考此

http://aspdotnetcodebook.blogspot.in/2008/03/adding- rows-and-cells-dynamically-to.html [ ^ ]


http://geekswithblogs.net/dotNETvinz/archive/2009/06/29/faq-dynamically-adding-rows-in-asp-table-on-button-click.aspx [
hii ,
please refer this

http://aspdotnetcodebook.blogspot.in/2008/03/adding-rows-and-cells-dynamically-to.html[^]


http://geekswithblogs.net/dotNETvinz/archive/2009/06/29/faq-dynamically-adding-rows-in-asp-table-on-button-click.aspx[^]


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

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