打印本文 打印本文 关闭窗口 关闭窗口
为ASP.NET组件加上Collection集合属性(C#)
作者:武汉SEO闵涛  文章来源:敏韬网  点击数5312  更新时间:2009/4/23 10:45:09  文章录入:mintao  责任编辑:mintao
bsp; "<tr>\n" +

        "<td width=''''100%'''' align=''''center'''' height=''''21'''' id=''''tr3''''><a target=''''_blank'''' href=''''{8}''''>{3}</a></td>\n" +

        "</tr>\n" +

        "<tr>\n" +

        "<td width=''''100%'''' align=''''center'''' height=''''21'''' id=''''tr4''''><a target=''''_blank'''' href=''''{9}''''>{4}</a></td>\n" +

        "</tr>\n" +

        "<tr>\n" +

        "<td width=''''100%'''' align=''''center'''' height=''''22'''' id=''''tr5''''><a target=''''_blank'''' href=''''{10}''''>{5}</a></td>\n" +

        "</tr>\n" +

        "</table>\n" +

 

        "</td>\n" +

        "</tr>\n" +

        "</table>";

       

        private const string JAVASCRIPT = "<script language=''''javascript''''>\n" +

                                               "var flag = true;\n" +

        "function Shink()\n" +

        "{\n" +

            "if(flag)       \n" +

            "{\n" +

                "document.all.downBlock.style.display = ''''none'''';\n" +

                "document.all.sign.innerText = ''''6'''';\n" +

                "document.all.t.height = 20;\n" +

            "}          \n" +

            "else\n" +

            "{\n" +

                "document.all.downBlock.style.display = ''''block'''';\n" +

                "document.all.sign.innerText = ''''5'''';\n" +

            "}\n" +

           

            "flag = !flag;\n" +

        "}\n" +

        "</script>\n";

       

 

        private StringItems _Strings;

        //注意下面红色的部分,一定要写哦

        [

            PersistenceMode(PersistenceMode.InnerProperty),

            DesignerSerializationVisibility(DesignerSerializationVisibility.Content)

        ]

        public StringItems Strings

        {          

            get

            {

                if(_Strings == null)

    &n

上一页  [1] [2] [3] [4] [5] [6] [7] [8]  下一页

打印本文 打印本文 关闭窗口 关闭窗口