上一页 1 2 3 4 5 6 7 ··· 11 下一页

2010年11月2日

摘要: -- 创建分区函数 create partition function PF_Orders_OrderDateRange(datetime) as range right for values ( '1997-01-01', '1998-01-01', '1999-01-01' ) go -- 创建分区方案create partition scheme PS_Orders as partition... 阅读全文
posted @ 2010-11-02 23:40 jianshaohui 阅读(359) 评论(0) 推荐(0) 编辑

2010年10月30日

摘要: 1.分页过程SELECT top 2 * from Contactwhere id>(select max(id) from ( select top 8 id from contact order by id asc))order by id asc 阅读全文
posted @ 2010-10-30 00:07 jianshaohui 阅读(117) 评论(0) 推荐(0) 编辑

2010年10月19日

摘要: 1.Create Table TableXml(id int identity(1,1) Primary Key,x xml)GoInsert Into TableXml Select '<root> <Info id="1" name="Name1" City="City1"/> <Info id="2" name="Name2" City="City2"/> <Info id="3" name=&quo 阅读全文
posted @ 2010-10-19 23:50 jianshaohui 阅读(183) 评论(0) 推荐(0) 编辑

2010年9月30日

摘要: Using System.Text;byte[ ] 转换为stringbyte[ ] image;string ll = Encoding.Default.GetString(image);string 转换为byte[ ]string ss;byte[] b = Encoding.Default.GetBytes(ss);数据库中image类型的字段的处理。首先我想从数据库中读出图片(以image类型存储的), 并且写入txt文件中:private void GetImage() { string conn = "Server=192.168.0.11; User id=user; Pwd= 阅读全文
posted @ 2010-09-30 16:05 jianshaohui 阅读(3397) 评论(0) 推荐(0) 编辑

2010年9月25日

摘要: ASP.NET以及JS获取URL和IP地址HttpContext.Current.Request.Url.ToString() 并不可靠。如果当前URL为http://localhost/search.aspx?user=http://csharp.xdowns.com&tag=%BC%BC%CA%F5通过HttpContext.Current.Request.Url.ToString()... 阅读全文
posted @ 2010-09-25 09:50 jianshaohui 阅读(774) 评论(0) 推荐(0) 编辑

2010年9月16日

摘要: http://blog.csdn.net/Houluoxuan_168/default.aspx?PageNumber=2 -----Houluoxuan_168的专栏(很多经验可学习,表达式树)http://topic.csdn.net/u/20090419/17/af52b181-b42a-463c-8e31-73db951eb767.html?40539 [推荐] web service中文... 阅读全文
posted @ 2010-09-16 11:16 jianshaohui 阅读(172) 评论(0) 推荐(0) 编辑

2010年9月14日

摘要: string fileName = ""; string filePath = Server.MapPath("");//路径 FileInfo fileInfo = new FileInfo(filePath); Response.Clear(); Response.ClearContent(); Response.ClearHeaders(); Response.AddHeader("Cont... 阅读全文
posted @ 2010-09-14 13:10 jianshaohui 阅读(274) 评论(1) 推荐(0) 编辑

2010年9月9日

摘要: Date 对象用于处理日期和时间。创建 Date 对象的语法:var myDate=new Date()Date 对象会自动把当前日期和时间保存为其初始值。参数形式有以下5种: new Date("month dd,yyyy hh:mm:ss"); newDate("month dd,yyyy"); newDate(yyyy,mth,dd,hh,mm,ss); new Date(yyyy,mth... 阅读全文
posted @ 2010-09-09 00:06 jianshaohui 阅读(68160) 评论(1) 推荐(3) 编辑
摘要: 参考http://blog.csdn.net/lxcnn/archive/2009/08/03/4402808.aspx 阅读全文
posted @ 2010-09-09 00:06 jianshaohui 阅读(126) 评论(0) 推荐(0) 编辑

2010年9月2日

摘要: 今天遇到了这个问题,于是研究了一下。要解决这个问题,首先就要明白一些Session的机理。Session在服务器是以散列表形式存在的,我们都知道Session是会话级的,每个用户访问都会生成一个Session。那么服务器是怎么区分不同用户的Session?又是怎么将不同用户的Session与不同的用户绑定的呢?下面我们来研究一下,以下纯属我个人的理解,如有错误请指证。Session在服务器端是以散... 阅读全文
posted @ 2010-09-02 15:13 jianshaohui 阅读(400) 评论(1) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 11 下一页

导航