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)
  • 相关阅读:
    数组和矩阵问题
    Memcached安装以及PHP的调用
    php函数ob_start()、ob_end_clean()、ob_get_contents()
    Nginx
    电影大全 API接口
    找电影资源最强攻略,知道这些你就牛B了!
    CSS3 图片旋转
    curl网站开发指南
    Redis 集群方案
    从12大技巧、30个案例、99个模板谈怎么写标题
  • 原文地址:https://www.cnblogs.com/woloveprogram/p/5087887.html
Copyright © 2011-2022 走看看