• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
开水房
ASP.NET
博客园    首页    新随笔    联系   管理    订阅  订阅

随笔分类 -  ASP.NET

索引器

摘要:class myListBox { protected ArrayList data = new ArrayList(); public object this[int idx] { get ... 阅读全文
posted @ 2008-11-20 08:32 白开水皮皮 阅读(196) 评论(0) 推荐(0)
网页空格控制宽度 css解决

摘要:关于空格的困惑 网页标准化专栏 各个浏览器的宽度不一致 有解决方法吗 阅读全文
posted @ 2008-07-03 09:33 白开水皮皮 阅读(2161) 评论(0) 推荐(0)
asp.net 出错自动跳转

摘要: 阅读全文
posted @ 2008-07-02 12:18 白开水皮皮 阅读(399) 评论(0) 推荐(0)
.net 数据库存储

摘要:SqlConnection myConnection = new SqlConnection(ConfigurationSettings.AppSettings["ConnectionString"]); SqlCommand myCommand = new SqlCommand("CustomerAdd", myConnection); /... 阅读全文
posted @ 2008-06-05 16:04 白开水皮皮 阅读(268) 评论(0) 推荐(0)
web print

摘要:最近在项目中做到打印方面的.以为页面有很多查询方面的控件,那么在打印的时候是不需要的,只需要我们查询的报表,那么就可以在打印时把不需要打印的控件全部隐藏掉 function printpr() //预览函数 { document.getElementById("div1").style.display="none"; document.getElementById("print").sty... 阅读全文
posted @ 2008-06-05 14:06 白开水皮皮 阅读(293) 评论(0) 推荐(0)
ASP.NET中将数据输出到WORD、EXCEL、TXT、HTM

摘要:其实,利用ASP.NET输出指定内容的WORD、EXCEL、TXT、HTM等类型的文档很容易的。主要分为三步来完成。 一、定义文档类型、字符编码 Response.Clear(); Response.Buffer= true; Response.Charset="utf-8"; //下面这行很重要, attachment 参数表示作为附件下载,您可以改成 online在线打... 阅读全文
posted @ 2008-06-05 14:02 白开水皮皮 阅读(256) 评论(0) 推荐(0)
.net数据存储 xml读取

摘要:SqlConnection myConnection = new SqlConnection(ConfigurationSettings.AppSettings["ConnectionString"]); SqlCommand myCommand = new SqlCommand("CustomerAdd", myConnection); /... 阅读全文
posted @ 2008-06-04 14:22 白开水皮皮 阅读(308) 评论(0) 推荐(0)

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3