以传统方式或使用服务器控件文本框访问HTML表单文本框数据是否更好? [英] Is it better to access HTML form text-box data the old-school way or using server control text-box?

查看:47
本文介绍了以传统方式或使用服务器控件文本框访问HTML表单文本框数据是否更好?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

标题中的问题.一个人比另一个人有什么好处吗?我认为,如果我们使用"runat = server"的服务器控件文本框,则服务器上的负载将更高.但这只是一个猜测,我不确定.

这篇文章应该在ASP .NET区域中. :(

Question in title. Are there any benefits of one over the other. I''m thinking that there will be a higher load on the server if we use the server control text-boxes that "runat=server". But that''s only a guess, I''m not entirely sure.

This post should have been in the ASP .NET area. :(

推荐答案



您的问题只有答案,

以传统方式或使用服务器控件文本框访问HTML表单文本框数据是否更好?

如果您使用服务器控件,则与HTML表单文本框相比,您可以执行更多操作,

这取决于使用年龄,如果您使用HTML进行基本操作,或者想要进行更灵活的操作,请进行服务器控制
Hi,

Your Question only having answer,

Is it better to access HTML form text-box data the old-school way or using server control text-box?

If you use Server controls you can do more operations, compared to HTML form text box,

and it depends on the use age, if your doing basic operation go with HTML , if you want to do more flexible operation go for server control


这篇关于以传统方式或使用服务器控件文本框访问HTML表单文本框数据是否更好?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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