上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
摘要: public static void CreateSmallImage(string minImageFullPath, System.Drawing.Image originalImage, int x, int y, int size) { System.Drawing.Im... 阅读全文
posted @ 2015-06-05 17:32 随学·笔记 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 基于.net构架的留言板项目大全源码 http://down.51cto.com/zt/70 ASP.net和C#.net通用权限系统组件功能教程 http://down.51cto.com/zt/129 跟我一起学Visual Studio 2008系列视频教程 http://down.51cto 阅读全文
posted @ 2015-05-30 15:04 随学·笔记 阅读(767) 评论(3) 推荐(0) 编辑
摘要: 修改web.config中的配置 针对iis7或更高版本另需要在<configuration>标签下添加 参考:http://weblogs.asp.net/jeffwids/from-iis6-maxrequestlength-to-iis7-maxallowedcontentlengthfile 阅读全文
posted @ 2015-05-26 11:30 随学·笔记 阅读(2201) 评论(0) 推荐(0) 编辑
摘要: 可行的解决方法(本人已用):1、Web.config文件修改sessionstate模式(默认为InProc)2、开启ASP.NET State Service的服务(最好设为自动)3、序列化session要保存的类 [Serializable] public class UserInfo ... 阅读全文
posted @ 2015-05-26 11:24 随学·笔记 阅读(227) 评论(0) 推荐(0) 编辑
摘要: //打印内容区域 //不会打印此区域内容 阅读全文
posted @ 2015-05-14 14:17 随学·笔记 阅读(119) 评论(0) 推荐(0) 编辑
摘要: private string ReplaceNoCase(string text, string oldValue, string newValue) { return System.Text.RegularExpressions.Regex.Replace(text, oldValue, newValue, System.Text.RegularExpressions.... 阅读全文
posted @ 2015-04-27 10:56 随学·笔记 阅读(1163) 评论(0) 推荐(0) 编辑
摘要: string filePath = Server.MapPath("~/excel.xlsx"); if (File.Exists(filePath)) { FileStream fs = new FileStream(filePath, ... 阅读全文
posted @ 2015-04-27 10:48 随学·笔记 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 转自CSDN:http://blog.csdn.net/htl258/article/details/4006717SQL server 2005新增的几个函数,分别是row_number()、rank( )、,DENSE_RANK( )、ntile( )下面以实例分别简单讲解。1.row_numb... 阅读全文
posted @ 2015-04-23 17:49 随学·笔记 阅读(1787) 评论(0) 推荐(0) 编辑
摘要: varchar(10) 存储10个字母,英文标点符号等,5个汉字以及中文标点等。 nvarchar(10)存储10汉字、字母等,不区分中英文。 阅读全文
posted @ 2015-04-13 10:26 随学·笔记 阅读(1729) 评论(0) 推荐(0) 编辑
摘要: 1、添加Microsoft.Vbe.Interop.dll引用。2、以下方法可以简单的读取到word文档文字内容,不包括图片、格式等。private string ReadWordFile(string file) { string filePath = Server.MapPa... 阅读全文
posted @ 2015-04-10 11:09 随学·笔记 阅读(1943) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页