Asp.net的Html表格 [英] Asp.net in Html Form

查看:67
本文介绍了Asp.net的Html表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在asp.net中将asp.net更改为Html控件。

I want to change in the asp.net to Html control in the asp.net.

<table style="width: 100%;">
                                  <tr>
                                      <td class="auto-style1">
                                          <asp:Label ID="Label6" runat="server" Text="Name"></asp:Label></td>
                                      <td>
                                          <asp:TextBox ID="TextBox2" runat="server" AutoPostBack="True" OnTextChanged="textBoxValidate"></asp:TextBox>
                                          <asp:Label ID="Label7" runat="server" Text="Label" ForeColor="Red" Visible="False"></asp:Label>
                                      </td>
                                  </tr>
                                  <tr>
                                      <td class="auto-style1">
                                          <asp:Label ID="Label2" runat="server" Text="Email Id"></asp:Label></td>
                                      <td>
                                          <asp:TextBox ID="TextBox3" runat="server" AutoPostBack="True" OnTextChanged="textBoxValidate"></asp:TextBox>
                                          <asp:Label ID="Label8" runat="server" Text="Label" ForeColor="Red" Visible="False"></asp:Label>
                                      </td>
                                  </tr>
                                  <tr>
                                      <td class="auto-style1">
                                          <asp:Label ID="Label3" runat="server" Text="Subject"></asp:Label></td>
                                      <td>
                                          <asp:TextBox ID="TextBox4" runat="server" AutoPostBack="True" OnTextChanged="textBoxValidate"></asp:TextBox>
                                          <asp:Label ID="Label9" runat="server" Text="Label" ForeColor="Red" Visible="False"></asp:Label>
                                      </td>
                                  </tr>
                                  <tr>
                                      <td class="auto-style1">
                                          <asp:Label ID="Label4" runat="server" Text="Your Question"></asp:Label></td>
                                      <td>
                                          <asp:TextBox ID="TextBox5" runat="server" TextMode="MultiLine" AutoPostBack="True" OnTextChanged="textBoxValidate"></asp:TextBox>
                                          <asp:Label ID="Label10" runat="server" Text="Label" ForeColor="Red" Visible="False"></asp:Label>
                                      </td>
                                  </tr>
                                  <tr>
                                      <td class="auto-style1">
                                          <asp:Label ID="Label5" runat="server" Text=""></asp:Label>
                                      </td>
                                      <td>
                                          <asp:Button ID="Button1" runat="server" Text="Submit" OnClick="SendEnquiry" /></td>
                                  </tr>
                              </table>

推荐答案

HTTP ://stackoverflow.com/questions/3112301/how-to-convert-aspx-page-into-html-page [ ^ ]


这篇关于Asp.net的Html表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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