zoukankan      html  css  js  c++  java
  • 配置 ASP.NET 应用程序的详细信息

    <?xml version="1.0"?>
    <!--
    有关如何配置 ASP.NET 应用程序的详细信息,请访问
    http://go.microsoft.com/fwlink/?LinkId=169433
    -->
    <configuration>
    <appSettings>
    <add key="ConnectionString" value="server=THINK;database=yyTest;uid=sa;pwd=299792458"/>
    </appSettings>
    <system.web>
    <compilation debug="true" targetFramework="4.0"/>
    </system.web>
    </configuration>

    database=uds_dongzhou_net2.0


    <connectionStrings>
    <add name="mystr" connectionString="data source=.\sqlexpress;User ID=sa;pwd=299792458;Initial Catalog=jiadeshi"/>
    </connectionStrings>

    <add key="ConnctionString" value="packet size=4096;user id=xxx;data source=.\sqlexpress;persist security info=True;initial catalog=NZKJ;password=xxx"></add>


    <asp:ButtonField ButtonType="Button" CommandName="Delete" HeaderText="操作"
    ShowHeader="True" Text="删除" />
    <asp:BoundField />

    <asp:ButtonField ButtonType="Button" CommandName="Edit" HeaderText="更新"
    ShowHeader="True" Text="修改" />
    <asp:ButtonField />

    <asp:TemplateField HeaderText="Change" ShowHeader="False">
    <ItemTemplate>
    <asp:LinkButton ID="BtnChange" runat="server" CausesValidation=false CommandName="Change"
    Text="Change" OnClick="Change.aspx"></asp:LinkButton>
    </ItemTemplate>
    </asp:TemplateField>


    <asp:TemplateField HeaderText="Delete" ShowHeader="False">
    <ItemStyle ForeColor="Red" />
    <ItemTemplate>
      <asp:LinkButton ID="BtnDelete" runat="server" CausesValidation="False" CommandName="Delete"
    Text="Delete" OnClientClick="return confirm('确认要删除此行信息吗?')"></asp:LinkButton>
    </ItemTemplate>
    </asp:TemplateField>

  • 相关阅读:
    kubuntu设置
    odoo git环境搭建
    ubuntu Gnome 14.10添加打印机
    ubuntu 14.10安装Balsamiq Mockups
    elementary os luna安装配置
    OpenERP QWeb模板标签笔记
    pycharm3 注册码
    统计项目代码
    odoo filter 日期
    opencart 安装
  • 原文地址:https://www.cnblogs.com/yigerendehaibian/p/2812374.html
Copyright © 2011-2022 走看看