如何清除所有表单字段 [英] how to clear all form fields

查看:102
本文介绍了如何清除所有表单字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

我有一个应用程序,其中有重新登录选项,通过该选项我想与其他用户一起重新加载该表格
像第一次一样,我想清除该表单并为其他用户加载

hi to all!

i have an application in which there is re login option by which i want to reload that form with other user
like first i want to clear that form and load with for other user

推荐答案

只需关闭您的表单,然后再次将其重新打开,这是最简单的操作做.

更精细的选项取决于您如何在表单中绑定数据以及所使用的内部数据结构,因此如果不获取更多信息就很难说.
Just close your form and re-open it again, it''s the easiest thing to do.

More elaborate option depend on how you are binding data in your form and what internal data structures you are using, so it is hard to say without getting more information.


查看这些链接

http://stackoverflow.com/questions/4872364/clearing-all- fields-in-asp-net-form [ ^ ]

http://imak47.wordpress.com/2008/08/01/how-to-reset-all-fields-of-a-web-form-in-asp-net/ [
Look at these link

http://stackoverflow.com/questions/4872364/clearing-all-fields-in-an-asp-net-form[^]

http://imak47.wordpress.com/2008/08/01/how-to-reset-all-fields-of-a-web-form-in-asp-net/[^]


这篇关于如何清除所有表单字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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