• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
ASP.NET系统开发-生Blog
博客园    首页    新随笔    联系   管理    订阅  订阅
上一页 1 2 3 4 5 6 下一页
2010年1月14日
TreeView
摘要: <asp:TreeView ID="TreeView1" runat="server" ExpandImageUrl="images/a.jpg" NoExpandImageUrl="images/b.jpg" CollapseImageUrl="images/a.jpg" > <%--<LeafNodeStyle ImageUrl="~/WSZYST/images/H... 阅读全文
posted @ 2010-01-14 20:42 生 阅读(233) 评论(0) 推荐(0)
2010年1月13日
下载文件
摘要: --下载方式FileInfo DownloadFile = new FileInfo(filePath); Response.Clear(); Response.ClearHeaders(); Response.Buffer = false; Response.ContentType = "application/octet-stream"; Response.AppendHeader("Cont... 阅读全文
posted @ 2010-01-13 11:43 生 阅读(221) 评论(0) 推荐(0)
2010年1月8日
获取客户端IP
摘要: /// <summary> /// 获得当前页面客户端的IP /// </summary> /// <returns>当前页面客户端的IP</returns> public static string GetIP() { string result = String.Empty; result = HttpContext.Current.Reques... 阅读全文
posted @ 2010-01-08 19:50 生 阅读(230) 评论(0) 推荐(0)
插入数据,获取标识
摘要: set @billableID=SCOPE_IDENTITY()select @billableID as 'billableID' 阅读全文
posted @ 2010-01-08 12:09 生 阅读(167) 评论(0) 推荐(0)
2010年1月6日
C#见面跳转方法
摘要: 1.Response.Redirect("http://www.bcbbs.net",false); 目标页面和原页面可以在2个服务器上,可输入网址或相对路径。后面的bool值为是否停止执行当前页。 跳转向新的页面,原窗口被代替。" 浏览器中的URL为新路径。:Response.Redirect方法导致浏览器链接到一个指定的URL。当Response.Redirect()方法被调用时,它会创建一个... 阅读全文
posted @ 2010-01-06 16:17 生 阅读(956) 评论(0) 推荐(0)
C#时间格式
摘要: txtTakeDate2.Text = DateTime.Now.ToString("yyyy年MM月", DateTimeFormatInfo.InvariantInfo); 阅读全文
posted @ 2010-01-06 11:17 生 阅读(181) 评论(0) 推荐(0)
2010年1月5日
多表左连接
摘要: select a.[TicketOrderID],a.[Takedate],c.ticketorderidfrom ticketorder aleft join [order] bon a.ticketorderid=b.orderidleft join [ticketOrder] con a.ticketOrderid=c.ticketorderid and c.ticketorderid=0 阅读全文
posted @ 2010-01-05 17:40 生 阅读(386) 评论(0) 推荐(0)
多个Select语句合并
摘要: select a.*,b.* from (select orderid,ordernumber from [order]) as a, (select orderid,source from [order]) as b where a.orderid=b.orderid 阅读全文
posted @ 2010-01-05 10:25 生 阅读(393) 评论(0) 推荐(0)
2010年1月4日
OWC组件画图
摘要: http://www.cnblogs.com/cnmawei/archive/2007/04/11/709144.html 阅读全文
posted @ 2010-01-04 18:38 生 阅读(127) 评论(0) 推荐(0)
Excel导入DataSet
摘要: EXCEL导入DATASET的代码我就写在下面吧,可以帮助一下新手~public void ExcelToDS(string Path) { string strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=" + Path + ";" + "Extended Properties=Excel 8.0;"; OleDbConn... 阅读全文
posted @ 2010-01-04 10:50 生 阅读(949) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 下一页
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3