• 博客园logo
  • 会员
  • 周边
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
宅男男
博客园    首页    新随笔    联系   管理    订阅  订阅
2019年6月5日
C#之Linq、where()、FindAll()的区别
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-06-05 13:40 宅男男 阅读(4) 评论(0) 推荐(0)
2011年11月15日
利用Response的WriteFile方法输出一些文件
摘要: protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { Response.WriteFile("TextFile.txt"); } protected void Button2_Click(object sender, EventArgs e) { string path = Server.MapPath("~/字符串专题.doc");//文件的路径 System.IO.FileI 阅读全文
posted @ 2011-11-15 16:11 宅男男 阅读(1107) 评论(0) 推荐(0)
2011年11月14日
js控制图片旋转角度
摘要: <html> <head> <title></title> <script type="text/javascript"> function rotateImage() { imageToRotate = document.getElementById('imgRotate'); imageToRotate.style.filter= "progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand')& 阅读全文
posted @ 2011-11-14 14:22 宅男男 阅读(1848) 评论(0) 推荐(0)
2011年11月13日
首页JS图片切换特效
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb23 阅读全文
posted @ 2011-11-13 15:16 宅男男 阅读(269) 评论(0) 推荐(0)
四屏焦点图片轮换效果代码
摘要: <html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title></title></head><style type="text/css">*{margin:3;padding:0;font-size:13px;}body{font-size:12px;color:#333333;text-align:center;font-family: 阅读全文
posted @ 2011-11-13 15:14 宅男男 阅读(277) 评论(0) 推荐(0)
一款手动幻灯图片效果
摘要: <html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>网页特效| www.qpsh.com</title><style>.spic a img{-moz-opacity:0.5; filter:alpha(opacity=50);border:0px;}.spic a:hover{font-size:9px;}.spic a:hover img{-moz-opaci 阅读全文
posted @ 2011-11-13 15:12 宅男男 阅读(247) 评论(0) 推荐(0)
asp.net 利用Global.asax 捕获整个解决方案中的异常错误
摘要: 之前做项目的时候都是在每个页面中处理这不同的异常信息,一个页面数下来,很多个try{}catch{}语句块,令整个代码结构有些不够美观。 今天看到一篇帖子,是关于利用全局应用程序类来帮忙获取异常信息,利用 server.Transfer('''')指定接受错误的页面;加上在接受错误页面中利用 server.GetLastError() 获取前一个异常源。 Global.asax 中的Application_Error 函数如下:view plaincopy to clipboardprint?protectedvoidApplication_Error(obje 阅读全文
posted @ 2011-11-13 08:17 宅男男 阅读(406) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3