• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
ASP.NET系统开发-生Blog
博客园    首页    新随笔    联系   管理    订阅  订阅
上一页 1 2 3 4 5 6 下一页
2010年1月26日
SQL
摘要: select * from tbName where datediff(hour, DateField, getdate()) <24 and datediff(minute, DateField, getdate())> 20 阅读全文
posted @ 2010-01-26 10:47 生 阅读(176) 评论(0) 推荐(0)
2010年1月25日
复制对象
摘要: /// <summary> /// 复制对象 /// </summary> /// <returns>返回它本身的一个副本</returns> public object GetCopy() { return MemberwiseClone(); } 阅读全文
posted @ 2010-01-25 21:35 生 阅读(408) 评论(0) 推荐(0)
JS的Document属性和方法
摘要: document.title //设置文档标题等价于HTML的title标签document.bgColor //设置页面背景色document.fgColor //设置前景色(文本颜色)document.linkColor //未点击过的链接颜色document.alinkColor //激活链接(焦点在此链接上)的颜色document.vlinkColor //已点击过的链接颜色documen... 阅读全文
posted @ 2010-01-25 16:58 生 阅读(109607) 评论(1) 推荐(11)
2010年1月19日
C# 超链接
摘要: 添加引用 using System.Net;using System.IO;private string GetPage(string uri) { CookieContainer cc = new CookieContainer(); HttpWebRequest request = (HttpWebRequest)WebRequest.Create(uri); request.CookieCo... 阅读全文
posted @ 2010-01-19 17:54 生 阅读(1973) 评论(0) 推荐(0)
显示消息提示对话框,并进行页面跳转
摘要: public static void ShowAndRedirect(System.Web.UI.Page page, string msg, string url) { StringBuilder Builder = new StringBuilder(); Builder.Append("<script type=\"text/javascript\">"); Builder.Ap... 阅读全文
posted @ 2010-01-19 11:35 生 阅读(1871) 评论(0) 推荐(0)
2010年1月18日
上传文件
摘要: //上传图片 protected void BtnUpload_Click(object sender, EventArgs e) { //权限 //数据获取 //数据加工,输入、输出 string filename = ""; if (HiddenField_pic.Value.Trim() == "") filename = DateTime.Now.ToString("yyyyMMddhhm... 阅读全文
posted @ 2010-01-18 16:14 生 阅读(174) 评论(0) 推荐(0)
网页滚动条CSS
摘要: scrollbar-shadow-color: #FFFFFF; scrollbar-highlight-color: #FFFFFF; scrollbar-arrow-color: #FFFFFF; scrollbar-face-color: #59ADBB; scrollbar-track-color: #FFFFFF; scrollbar-3dlight-color: #59ADBB; sc... 阅读全文
posted @ 2010-01-18 01:17 生 阅读(187) 评论(0) 推荐(0)
2010年1月16日
JS与框架页的操作
摘要: 1,刷新框架onload=function(){ try { parent.Link.location.reload(); } catch(e) { }}父框架parent.location.href=parent.frames["right"].location.href;2,获取URL并字符处理var url=parent.frames["right"].location.href;//doc... 阅读全文
posted @ 2010-01-16 14:13 生 阅读(1943) 评论(0) 推荐(1)
2010年1月15日
仿照DiscuzNT弹出框以及JS判断框架是否加载完毕,加载中...
摘要: 普通页面判断加载完毕<script type="text/javascript">document.write('<div id="loadDiv" style="font-size: 14px;font-weight:bold; color:#0099cc;left: 50%;position: absolute;top:40%;"><img src="loadin... 阅读全文
posted @ 2010-01-15 09:45 生 阅读(1337) 评论(0) 推荐(0)
2010年1月14日
JS获取几种URL地址的方法
摘要: 以下为JS获取几种URL地址的方法thisURL = document.URL;thisHREF = document.location.href;thisSLoc = self.location.href;thisDLoc = document.location;thisTLoc = top.location.href;thisPLoc = parent.document.location;th... 阅读全文
posted @ 2010-01-14 21:00 生 阅读(25088) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 下一页
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3