动态创建文本框 [英] Dynamically creating textbox..

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

问题描述

朋友们..
我有一个表,它有5列...在aspx页中,当用户单击按钮时,我有一个文本框和按钮,我想动态添加另一个文本框. 但它只允许4个文本框,因为我表中只有5列...另一个重要的提示是假设用户生成的文本框只有3个,这意味着当用户单击更新按钮时,我想用相同的三个值来更新表时间,剩下的两列会自动更新为空值..
我该如何实现...
在此先感谢....

Hi,friends..
i have one table it have 5 column...in the aspx page i have one text box and button when the user click the button i want to add another textbox dynamically..
but it can allow only 4 textboxes because i have only 5 column in table...another one important poin is suppose user genarated only three textboxes means when the user click the update button i want to update the table with the three values at the same time the remaining two column automatically update with null value..
How can i achieve this...
thanks in advance....

推荐答案

您好saravanan,

什么是更新数据的关键字段,谁将在表中插入记录?

问候,
苏尼尔·蒂瓦里(Sunil Tiwari)
Hi saravanan,

What will be the key field to update the data and who will insert the record in table ?

Regards,
Sunil Tiwari


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

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