您现在的位置是:首页 >

html拖拽代码生成器 用ASP.NET写你自己的代码生成器

火烧 2022-11-06 00:01:59 1031
用ASP.NET写你自己的代码生成器   最近写实体类集合类控制类什么的太 类 了 因此就花了点时间写了个代码生成器 与大家共享!  FRMMAIN ASPX   lt %@ Page la guag

用ASP.NET写你自己的代码生成器  

  最近写实体类集合类控制类什么的太 类 了 因此就花了点时间写了个代码生成器 与大家共享!  FRMMAIN ASPX  <%@ Page language= c# Codebehind= FrmMain aspx cs AutoEventWireup= false   Inherits= Web_Test FrmMain %>  <!DOCTYPE HTML PUBLIC //W C//DTD HTML Transitional//EN >  <HTML>     <HEAD>        <title>FrmMain</title>        <meta name= GENERATOR Content= Microsoft Visual Studio >   <meta name= CODE_LANGUAGE Content= C# >        <meta name= vs_defaultClientScript content= JavaScript >        <meta name= vs_targetSchema content= >     </HEAD>     <body MS_POSITIONING= GridLayout >        <form id= FrmMain method= post runat= server >        <asp:TextBox id= txtServerName runat= server Font Size= pt Design_Time_Lock= True > </asp:TextBox>            <asp:Label id= Label runat= server Width= px Height= px Font Size= pt Design_Time_Lock= True >数据库列表</asp:Label>            <asp:Label id= Label runat= server Width= px Height= px Font Size= pt Design_Time_Lock= True Visible= False >字段名</asp:Label>

  <asp:Label id= Label runat= server Width= px Height= px Font Size= pt Design_Time_Lock= True >表名</asp:Label>        <asp:Button id= Button runat= server Width= px Text= GetTable Font Size= pt Design_Time_Lock= True ></asp:Button>  <asp:Label id= Label runat= server Width= px Height= px Font Size= pt Design_Time_Lock= True >密码</asp:Label>        <asp:Label id= Label runat= server Width= px Height= px Font Size= pt Design_Time_Lock= True >用户名</asp:Label>        <asp:Label id= Label runat= server Width= px Height= px Font Size= pt Design_Time_Lock= True >服务器名</asp:Label>            <asp:TextBox id= txtPassword runat= server Font Size= pt BackColor= Transparent ForeColor= Black BorderColor= White Design_Time_Lock= True ></asp:TextBox>            <asp:TextBox id= txtUserName runat= server Font Size= pt Design_Time_Lock= True >sa</asp:TextBox>

html拖拽代码生成器 用ASP.NET写你自己的代码生成器

  <asp:DropDownList id= DropDownList runat= server Width= px AutoPostBack= True Font Size= pt  Design_Time_Lock= True ></asp:DropDownList>          <asp:DropDownList id= DropDownList runat= server Width= px Height= px Font Size= pt Design_Time_Lock= True Visible= False ></asp:DropDownList>          <asp:Button id= Button runat= server Width= px Text= GetDataBase Design_Time_Lock= True ></asp:Button>          <asp:DropDownList id= DropDownList runat= server Width= px Height= px Design_Time_Lock= True ></asp:DropDownList>          <asp:Button id= Button runat= server Width= px Text= 生 成 Design_Time_Lock= True Visible= False ></asp:Button>          <asp:TextBox id= txtLayOut runat= server Width= px Height= px TextMode= MultiLine BackColor= Ivory Design_Time_Lock= True ></asp:TextBox>          <asp:Button id= Button runat= server Height= px Width= px Text= 实体类 Design_Time_Lock= True ></asp:Button>

  <asp:Button id= Button runat= server Width= px Text= Test Height= px Design_Time_Lock= True Visible= False ></asp:Button>         <asp:Button id= Button runat= server Height= px Width= px Text= 集合类 Design_Time_Lock= True Visible= False ></asp:Button>          </form>          </body>          </HTML>
lishixinzhi/Article/program/net/201311/12535
  
永远跟党走
  • 如果你觉得本站很棒,可以通过扫码支付打赏哦!

    • 微信收款码
    • 支付宝收款码