- 博客(8)
- 资源 (10)
- 收藏
- 关注
转载 通过C#写入内存
public static MemoryStream RenderToExcel(IDataReader reader) { MemoryStream ms = new MemoryStream(); using (reader) { IWorkbook wo...
2019-05-23 11:03:56 810
原创 Stream转换为Byte的方法
public static byte[] ReadFully(Stream input){ byte[] buffer = new byte[16*1024]; using (MemoryStream ms = new MemoryStream()) { int read; while ((read = input.Read(buffer...
2019-05-23 10:09:43 2834
原创 聚合函数的使用
sql查询中使用in 相对于比 exists更具慢,所有一般是子查询都用exists,子查询里面返回的是结果集,如果要更加精准的,那就是 前面查询的表的某个字段要恒等于子查询的的某个字段 select * into #A from #M m where exists (select t.Prefix from #T t where Comp_Code='VN' a...
2019-05-14 09:39:18 625
原创 Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Chinese_PRC_CI_AS"
参考了解决办法: Cannot resolve the collation conflict between "Japanese_CI_AS" and "SQL_...select * from #PlanLineLoadingA m where exists (select t.Prefix from #Vw_EXTERNAL_MT_Pattern t where Comp_Cod...
2019-05-14 08:59:45 2996
原创 养生的重要性
致各位办公室的伙伴们无论何地,无论何人,只要是长期的坐着,必然有亚健康的存在,肩周炎,颈椎病,脱发,胃痛等等其实只要平常工作的时候多注意就可以了,就像早上起床会先睁开眼一样自然1,按时吃饭,避免肠胃问题2,不过度吃,不吃冻得(女生特别注意)3,要时刻补充五官所要的水(不是开水的那个水,是器官里的,可以泡脚或者艾灸腰阳关)4,只要坚持,简单自然,可以避免很多亚健康,五脏六腑协...
2019-05-10 08:42:53 259
原创 sql对数据的循环操作
select ROW_NUMBER() OVER(ORDER BY rid) ROWNU ,* into #skunoList from [Mst_SKU] where [SKUNo] like '%102-%' DECLARE @iLoop int,--某一行的记录 @MaxID int--总行数 select @MaxID =(select COUNT(skun...
2019-05-02 14:33:15 405
原创 对于kendoUI页面统计数值显示
secondgrid为kendoUI的Id var grid = $("#secondgrid").data("kendoGrid");通过id获取里面的uid,进行赋值,6,表示第六个 $("#secondgrid").find('tr[data-uid=' + gridData[i].uid + ']').find('td').eq(6)...
2019-05-02 11:49:13 718
C#开发mail用到的资源
2018-09-19
发邮件所需的jar包mail.jar,activation.jar,commons-email-1.3.jar
2015-11-16
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人