如何在asp.net中使用html控件

问题描述:

如何通过单击html输入按钮从文件后面的代码调用函数

how i can call function from code behind file by click of html input button

右键单击控件-按用作服务器控件",然后双击事件属性click方法..
right click the control - press Use as Server Control then event properties double click the click method..


,或者只是将标签标记为runat ="server".
Or just mark your button with tag runat="server".