我如何在ASP.Net中表达以下内容,而不是HTML?
<input type="image" class="no-border" src="img/forms/submit_btn.png" alt="submit" name="submit" />
答案 0 :(得分:4)
<asp:ImageButton runat="server" ImageUrl="img/forms/submit_btn.png" CssClass="no-border" ToolTip="Submit" name="Submit" Id="SubmitImageButton" />