zoukankan      html  css  js  c++  java
  • 控件案例

    虽然不打算用控件了,但是关于控件的经验还是保留下来吧,万一呢?未来还很长。。。

    下拉菜单

      <asp:DropDownList ID="txtVisitWayB" runat="server">
                                    <asp:ListItem Value="-1">===请选择===        </asp:ListItem>
     
                                </asp:DropDownList> 

    局部刷新

    <form runat="server">
            <uc1:checkright ID="checkright1" runat="server" />
        <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
        <div  >
           
        </div></ContentTemplate>
            </asp:UpdatePanel>
        </form>

    radio列表:

        <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal">
                                                <asp:ListItem Selected="True" Value="1">域名</asp:ListItem>
                                             </asp:RadioButtonList>

    check列表

    <asp:CheckBoxList ID="CheckBoxList1" runat="server" 
                                                RepeatDirection="Horizontal">
                                                <asp:ListItem Value="1">域名</asp:ListItem>
             </asp:CheckBoxList>
    <iewc:treeview id="TreeView1" runat="server" SelectExpands="True" SelectedStyle="color:#000000;background:Transparent;" HoverStyle="color:#000000;background:Transparent;"></iewc:treeview>

    .ascx 用户控件:验证登入 / 首/尾  

    <uc1:CopyRight id="CopyRight1" runat="server"></uc1:CopyRight>

    后台代码

    提示语:
    MessageBox.SessionShow(this.Page)
    判断是否第一次登入if (!Page.IsPostBack)
                {}
    返回大于或等于值的最小整数值 1
    Math.Ceiling(1.25)
  • 相关阅读:
    单词统计
    团队项目介绍--“益青春APP”
    团队项目 NABCD介绍
    兰猪耳
    薄雪万年草
    佛甲草
    针叶天蓝绣球
    白芨
    萱草
    吉祥草
  • 原文地址:https://www.cnblogs.com/woloveprogram/p/5087887.html
Copyright © 2011-2022 走看看