摘要: What's New in ASP.NET 4.5 and Visual Web Developer 11 Developer Preview This document describes new features and enhancements that are being introduced in ASP.NET 4.5. It also describes improvements being made for web development in Visual Studio (Visual Web Developer). ASP.NET Core Runtime and 阅读全文
posted @ 2011-12-07 17:44 Rober.Xin 阅读(846) 评论(0) 推荐(0) 编辑
摘要: Excel 数据导出组件,10W级数据5秒内导出,支持B/S,C/S架构。全套内封组件,用户自配导出数据项和导出模式,导出模式支持页面流输出和Xls文件存储。您的操作使用很简单,只需将您的数据和格式交由组件即可。 protected void btnExport_Click(object sender, EventArgs e){ string xmlTemplatePath = Server.MapPath(@"ExportXML\SummaryStudentLearningExport.xml"); string xlsFileName = "学员学习情况汇总 阅读全文
posted @ 2013-07-01 11:09 Rober.Xin 阅读(887) 评论(0) 推荐(0) 编辑
摘要: 1. Reporting Service 查询数据从数据库,并根据特殊符号进行折行2. 点击报表,右键-》属性,弹出属性框3. 选择代码(Code) 添加如下代码 4. 选择数据项单元格->表达式: =Code.ChangeLine("数据项","换行替换符号") 阅读全文
posted @ 2012-11-15 15:35 Rober.Xin 阅读(1121) 评论(0) 推荐(0) 编辑
摘要: 1. 如果您在Solution里添加rdlc时出现了该Issue,那么恭喜你,你也找到了Microsoft的一个Bug。2. 微软为此已经更新了SP1,因此,请打Visual Studio SP1补丁。3. 如果打了补丁依然出现此问题,清除Bin下所有引用的 dll,然后再操作rdlc。此种情况是出现在reference A.dll, But A.dll reference B.dll, B.dll reference ....4. Else Create An new instance for reporting service without less reference5. other. 阅读全文
posted @ 2012-11-09 14:45 Rober.Xin 阅读(426) 评论(0) 推荐(0) 编辑
摘要: public class FileDownload : IDisposable readonlystaticstringMULTIPART_BOUNDARY="<q1w2e3r4t5y6u7i8o9p0>";readonlystaticstringMULTIPART_CONTENTTYPE="multipart/byteranges;boundary="+MULTIPART_BOUNDARY;readonlystaticstringHTTP_HEADER_Content_Disposition="Content-Dispos 阅读全文
posted @ 2011-12-09 16:02 Rober.Xin 阅读(607) 评论(0) 推荐(0) 编辑
摘要: 在本周举办的微软专业开发者大会(Professional Developers Conference)上,微软曾经力推的Silverlight受到了冷遇,Silverlight 5的发展只在会议开幕的主题演讲上被提及了一下,此后就销声匿迹了,没有一场会议用来专门讨论Silverlight 5。而从讨论风向上来看,软件帝国显然已经把目标转向了HTML5,关于HTML5话题的讨论热火朝天,CEO鲍尔默更是公开表明:“HTML5是促进前后端之间独立和创新的平台粘合剂。”是Silverlight真的已经变得不重要了还是HTML5变得更重要了?有媒体就此问题向微软服务器与开发工具事业部负责人Bob Mu 阅读全文
posted @ 2011-07-03 17:15 Rober.Xin 阅读(5410) 评论(1) 推荐(0) 编辑
摘要: <!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> <title></title> <script language="javascript" type=&quo 阅读全文
posted @ 2011-06-17 11:32 Rober.Xin 阅读(252) 评论(0) 推荐(0) 编辑
摘要: System.Text.UTF8Encoding converter = new System.Text.UTF8Encoding();byte[] buffer = converter.GetBytes(outerXml);using (MemoryStream ms = new MemoryStream()){ using (GZipStream gzip = new GZipStream(ms, CompressionMode.Compress)){gzip.Write(buffer, 0, buffer.Length);}buffer = ms.ToArray();} 阅读全文
posted @ 2011-04-28 14:34 Rober.Xin 阅读(1398) 评论(0) 推荐(0) 编辑
摘要: HttpModule.cs代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--namespaceWebUploadFile{publicclassHttpUploadModule:IHttpModule{///summary///IHttpModuleDispose////summarypublicvoidDispose(){}///summary///initbeginrequest////summary///paramname 阅读全文
posted @ 2010-12-17 15:44 Rober.Xin 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--///<summary>///DataTransfer的摘要说明///</summary>publicstaticclassDataTransfer{///<summar... 阅读全文
posted @ 2010-12-03 14:47 Rober.Xin 阅读(600) 评论(0) 推荐(0) 编辑