07 2009 档案
摘要:<asp:datalist id="DataList1" style="Z-INDEX: 102; LEFT: 5px; TOP: 16px" runat="server" ItemStyle-VerticalAlign="Top"RepeatColumns="2" RepeatDirection="Vertical" CellPadding="3" Width="570" HeaderSt...
阅读全文
摘要:内容页与母版页进行交互有三种方式:首先在母版页类里面添加共有的属性或方法,例如:[代码]方式一:将内容页的Master对象转换成特定类型的母版类对象(假如当前母版页的名字是:MySite.master)[代码]方式二:在内容页中加入MasterType指令,并指定.master文件的虚拟路径。(摘自MSDN:提供一种方法,用于当通过 Master 属性访问 ASP.NET 母版页时,创建对该母版页...
阅读全文
摘要:1)<meta http-equiv="refresh"content="10;url=跳转的页面">10表示间隔10秒刷新一次2)<script>window.location.reload(true);</script>如果是你要刷新某一个iframe就把window给换成frame的名字或ID号3)<script>window.navigate...
阅读全文
摘要:using System;using System.Globalization;//namespace Project.ChinaDate{ ///<summary> /// 显示今天农历类 ///</summary>publicclass CNDate { private DateTime m_Date; //今天的日期privatereadonlyint cny...
阅读全文
摘要://天干 private static string[] TianGan = { "甲", "乙", "丙", "丁", "戊", "己", "庚", "辛", "壬", "癸" }; //地支 private static string[] DiZhi = { "子", "丑", "寅", "卯", "辰", "巳", "午", "未", "申", "酉", "戌", "亥" }; //十二...
阅读全文
摘要:1 添加IPLocation.dll到bin 添加引用2 添加ip数据库文件 QQWry.Dat 到项目3 调用方法代码分享string conn, ipstr, addstr=""; conn = Server.MapPath("inc/QQWry.Dat"); ipstr = TextBox1.Text.Trim(); try { addstr = IPLocation.IPLocation....
阅读全文