以编程方式添加重复文本框并删除c#中的文本框 [英] Programatically add repeating textbox and remove textbox in c#

查看:82
本文介绍了以编程方式添加重复文本框并删除c#中的文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友们,

我希望当我点击添加按钮新文本框添加到新行时添加和删除按钮时单击删除按钮特定行删除。

i want when i click on add button new textbox added into new row with add and delete button when click on delete button particular row deleted.

请提供asp.net代码填写此要求。

please provide asp.net code to fillfull this requirement.

谢谢,

siddhu。

推荐答案

我不会提供任何代码,但您可以使用asp:Table并将新的TableRow添加到TableRow(TableCell)包含TextBox的表中。 

I won't provide any code but you can use an asp:Table and add a new TableRow to the Table where the TableRow(TableCell) contains an TextBox. 

并使用UpdatePanel刷新表。很容易!祝你好运

And use an UpdatePanel to refresh the table. Easy as that! Good luck


这篇关于以编程方式添加重复文本框并删除c#中的文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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