如果我们可以使用HTML模板控件如何在ASP.NET中使用 [英] If we can use HTML templates controls how to use in ASP.NET
本文介绍了如果我们可以使用HTML模板控件如何在ASP.NET中使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果我们使用HTML模板控件如何在asp.net中使用如何编写代码控件以及如何在数据库中插入值请帮帮我。
if we use HTML Template controls how to use in asp.net how to write the code controls and how to insert value in database Please help me.
推荐答案
只需将 runat =server
属性添加到该控件即可使用任何 HTML 控件。添加此属性后,您可以像使用 ASP 控件一样使用它。
you can use any HTML control by just adding runat="server"
attribute to that control. After adding this attribute you can use it like your ASP control.
这篇关于如果我们可以使用HTML模板控件如何在ASP.NET中使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文