摘要: 1 3 4 6 7 8 9 10 11 12 34 35 36 37 38 39 40 44 45 46 47 ... 阅读全文
posted @ 2014-04-24 17:09 yuking 阅读(494) 评论(0) 推荐(0) 编辑
摘要: =Sum(IIf(Fields!AValue.Value >0,Val(Fields!AValue.Value),0))一直显示错误号修改为=Sum(IIf(Fields!AValue.Value >0,Val(Fields!AValue.Value),0.0)) 阅读全文
posted @ 2014-04-22 09:06 yuking 阅读(473) 评论(0) 推荐(0) 编辑
摘要: function teseClose() { window.opener = null; window.open('','_self'); window.close();} 阅读全文
posted @ 2014-04-09 16:14 yuking 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 原:1,2,3,5,6,7,9,10,12转后:1~3,5~7,9~10,12 /// /// 字符串号换为区间式 /// /// /// public static string ToInterval(string str) { int[] arraystr = TointArray(str.Trim(',').Split(',')); Array.Sort(arraystr); string Rstr = "",... 阅读全文
posted @ 2014-03-25 11:20 yuking 阅读(828) 评论(0) 推荐(0) 编辑
摘要: =Sum(Fields!ROCKNUM.Value/Fields!SEND.Value*100)当Fields!SEND.Value为0或者空时,显示错误号修改:=IIF(isnothing(Fields!SEND.Value)Or(Fields!SEND.Value=0),0,Sum(Fields!ROCKNUM.Value/Val(Fields!SEND.Value)*100)) 阅读全文
posted @ 2014-02-21 09:13 yuking 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 今天测试项目时,突然发现导出报表下载保存的保存,不能识别文件的类型,文件名称为:.xls[3]检查代码发现在指定报表路径时多了一个方法:ReportViewer1.LocalReport.LoadReportDefinition(GenerateRdlc(dic["reportXml"])); public MemoryStream GenerateRdlc(string xmlName) { XmlDocument sourceDoc = new XmlDocument(); string path = AppDomain.CurrentDomain.BaseDirect 阅读全文
posted @ 2013-12-03 15:32 yuking 阅读(372) 评论(0) 推荐(0) 编辑
摘要: for (int j = 0; j < fp.ActiveSheetView.ColumnCount; j++) { fp.ActiveSheetView.ColumnHeader.Cells[0, j].Background.BackgroundImageUrl = "../../image/warning.png"; fp.ActiveSheetView.ColumnHeader.Cells[0, j].B... 阅读全文
posted @ 2013-11-18 10:39 yuking 阅读(1443) 评论(0) 推荐(0) 编辑
摘要: When i try to install VS2010, Its not installing. I'm getting an error. It just try to install the framework 4 and failed. Below i paste the error log :[04/29/12,18:28:13] Microsoft .NET Framework 4: [2] Error code -939523550 for this component is not recognized.[04/29/12,18:28:13] Microsoft .NE 阅读全文
posted @ 2013-11-13 16:06 yuking 阅读(605) 评论(0) 推荐(0) 编辑
摘要: 先看效果实现:FarPoint.Web.Spread.StyleInfo Errorcss = new FarPoint.Web.Spread.StyleInfo();Errorcss.Border.BorderColor = System.Drawing.Color.FromArgb(255, 236, 139);Errorcss.Border.BorderSize = 2;Errorcss.Border.BorderStyle = BorderStyle.Solid;Errorcss.Background.BackgroundImageUrl = "../../image/Ann 阅读全文
posted @ 2013-11-12 15:15 yuking 阅读(350) 评论(0) 推荐(0) 编辑
摘要: 例:m的6次方="M"&ChrW(8310)Character NameCharacterNum EntityHex Entity Superscript Chart(上标)SUPERSCRIPT ZERO⁰8304;x2070SUPERSCRIPT ONE¹185;x00B9Entity Code = &sup1;SUPERSCRIPT TWO²178;x00B2Entity Code = &sup2;SUPERSCRIPT THREE³179;x00B3Entity Code = &sup3;SUPERSCR 阅读全文
posted @ 2013-10-29 12:18 yuking 阅读(2193) 评论(1) 推荐(0) 编辑