摘要:
RDLC 导出Word的时候发现,Word的尺寸和页边距有问题,查了MSDN看到这样一段话 Page Sizing When the report is rendered, the Word page height and width are set by the following RDL pro 阅读全文
摘要:
首先,从微软官网下载安装包:http://www.microsoft.com/downloads/zh-cn/details.aspx?FamilyID=44CAC7F0-633B-477D-AED2-99AEE642FC10&displaylang=zh-cn。下载下来解压,有7个MSI安装文件。其中CHSPinYinConv.msi是汉字拼音组件,CHTCHSConv.msi是进行繁简体互转组件。其他的是日语韩语的。安装完成后在VS里添加引用,分别引用:C:\Program Files()x86\Microsoft Visual Studio International Pack\ 阅读全文
摘要:
1.生成任意随机数 Random random = new Random(); random.Next(minvale, maxvale); 时间短重复 2.利用种子生成不重复随机数 (a)生成随机数时:Random ran = new Random((int)DateTime.Now.Ticks); ran .Next(minvale, maxvale); 可以有效解决重复... 阅读全文