wucf2004的博客

asp.net和ajax
随笔 - 78, 文章 - 0, 评论 - 49, 阅读 - 76353
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

08 2008 档案

摘要:private string getAge(string bornDate) { DateTime b = DateTime.Parse(bornDate); int a2 = DateTime.Now.Year; int b2 = b.Year; int a3 = DateTime.Now.Month; int b3 = b.Month; int a4 = DateTime.Now.Day; i... 阅读全文

posted @ 2008-08-22 10:04 wucf2004 阅读(2353) 评论(0) 推荐(1) 编辑

摘要:我们在vs中直接运行项目时,一般都有一个虚拟目录,这样有时会导致和最终的部署环境不一致,其实我们可以更改sln文件来去除它,用记事本打开sln文件,在web那一段Release.AspNetCompiler.Debug = "False"后面添加VWDVirtualPath = "/"即可。 阅读全文

posted @ 2008-08-13 13:56 wucf2004 阅读(291) 评论(0) 推荐(0) 编辑

摘要://参考别人的方法HttpCookie MyCo; string _strPageDomain="test.cn"; if (_strPageDomain != null && _strPageDomain != "") { MyCo = HttpContext.Current.Request.Cookies["siteinfo"]; if (System.Web.HttpCont... 阅读全文

posted @ 2008-08-12 15:49 wucf2004 阅读(1354) 评论(0) 推荐(0) 编辑

摘要:<script type="text/javascript">var xmlHttp;function createXMLHttpRequest() { if (window.ActiveXObject) { xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); } else if (window.XMLHttpRequest) { xml... 阅读全文

posted @ 2008-08-01 14:34 wucf2004 阅读(1034) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示