摘要: 固定表头方法:1,样式固定。这个方法是从网上参考的,但是忘记了来源,使用之后发现效果不是很好,有闪动。以下是源码(来源于网络):<styletype="text/css">.Freezing{position:relative;table-layout:fixed;top:expression(this.offsetParent.scrollTop);z-index:10;}.Freezingth{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;padding:2px;}</style&g 阅读全文
posted @ 2011-07-18 17:12 Jack Qin 阅读(1519) 评论(0) 推荐(0) 编辑
摘要: View Code 1 <asp:TextBox ID="TextBox1" runat="server" CssClass="inputCss" Width="60px"></asp:TextBox>2 <asp:CalendarExtender ID="TextBox1_CalendarExtender" PopupButtonID="TextBox1" runat="server" 3 Enabled="Tru 阅读全文
posted @ 2011-07-06 14:19 Jack Qin 阅读(276) 评论(0) 推荐(0) 编辑
摘要: BackUpDB.aspxView Code 1 <div> 2 3 备份数据库:<asp:DropDownList ID="db" runat="server"> 4 </asp:DropDownList> 5 <br /> 6 <br /> 7 8 </div> 9 <div>10 11 备份名称和位置:<asp:TextBox ID="positions" runat="server"></asp:TextB 阅读全文
posted @ 2011-07-06 14:17 Jack Qin 阅读(308) 评论(0) 推荐(0) 编辑
摘要: View Code 1 public static string getIP() 2 { 3 string result = String.Empty; 4 result = HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"]; 5 if (null == result || result == String.Empty) 6 { 7 result = HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"]; 阅读全文
posted @ 2011-07-06 14:12 Jack Qin 阅读(294) 评论(1) 推荐(1) 编辑
摘要: View Code 1 public static string WeekDay()2 {3 string[] weekday = { "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六" };4 string week = weekday[Convert.ToInt32(DateTime.Now.DayOfWeek)];5 return week;6 } 阅读全文
posted @ 2011-07-06 14:11 Jack Qin 阅读(177) 评论(0) 推荐(0) 编辑
摘要: View Code 1 public static int GetWeekTime(DateTime dt)2 {3 int ww = new System.Globalization.GregorianCalendar().GetWeekOfYear(dt, System.Globalization.CalendarWeekRule.FirstDay, DayOfWeek.Sunday);4 return ww;5 } 阅读全文
posted @ 2011-07-06 14:10 Jack Qin 阅读(240) 评论(0) 推荐(0) 编辑
摘要: View Code 1 <asp:Accordion ID="adTree" AutoSize ="None" runat="server" HeaderCssClass ="bgs type typetop"2 FadeTransitions="True" FramesPerSecond="45" Width="182px" 3 RequireOpenedPane="False"> 4 </asp:Accordion 阅读全文
posted @ 2011-07-05 10:40 Jack Qin 阅读(196) 评论(0) 推荐(0) 编辑
摘要: <td class="style23"> <asp:TextBox ID="tbNum" BackColor="#CCFFFF" runat="server" AutoCompleteType="Disabled" Width="289px"></asp:TextBox><asp:AutoCompleteExtender ID="tbNum_AutoCompleteExtender" runat="ser 阅读全文
posted @ 2011-07-05 10:24 Jack Qin 阅读(256) 评论(0) 推荐(0) 编辑
作者:Jack Qin http://www.nosqlcn.com