上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 89 下一页
摘要: 一般来说导出excel时 如果是excel97~2003,那么content-type应该设置为:application/vnd.ms-excel, 如果是excel2007以后的,那么content-type应该设置为:application/vnd.openxmlformats-officedo 阅读全文
posted @ 2020-01-07 14:02 BloggerSb 阅读(10962) 评论(0) 推荐(0)
摘要: using (TransactionScope trans = new TransactionScope()) { try { InsertUserBase(); //它插入不成功,自己回滚 UserInfos userInfo = new UserInfos { UserID = "1", Rea 阅读全文
posted @ 2020-01-07 12:31 BloggerSb 阅读(250) 评论(0) 推荐(0)
摘要: LOCATE('substr',str,pos)方法 阅读全文
posted @ 2019-12-15 14:06 BloggerSb 阅读(394) 评论(0) 推荐(0)
摘要: 参考:https://stackoverflow.com/questions/13506623/smtp-exception-failure-sending-mail 阅读全文
posted @ 2019-12-08 16:32 BloggerSb 阅读(188) 评论(0) 推荐(0)
摘要: 源文:https://fly.layui.com/jie/399/ 阅读全文
posted @ 2019-10-18 07:10 BloggerSb 阅读(874) 评论(0) 推荐(0)
摘要: 1.右键项目新建文件夹 Areas 2.先把项目分类包好,建两个文件夹,放Controller和View,Model也可以放在这里 因为项目启动默认打开的是Home/Index ,我把它放在了Website文件夹内了,这就需要更改路由配置了 3.如果更改了默认目录,就要去修改路由配置了,打开Glob 阅读全文
posted @ 2019-10-17 09:24 BloggerSb 阅读(1021) 评论(0) 推荐(0)
摘要: 问题描述:正在中止线程问题原因:Response.End 方法终止页的执行,并将此执行切换到应用程序的事件管线中的 Application_EndRequest 事件。不执行 Response.End 后面的代码行。解决方案要解决此问题,请使用下列方法之一: ? 对于 Response.End,调用 阅读全文
posted @ 2019-10-17 08:24 BloggerSb 阅读(457) 评论(0) 推荐(0)
摘要: 根据 case when 新的 sort字段排序 当colume 与condition 条件相等时结果为result case colume when condition then result when condition then result when condition then resul 阅读全文
posted @ 2019-10-16 06:15 BloggerSb 阅读(140) 评论(0) 推荐(0)
摘要: 我分为下面三个步骤来解决: (1):修改mysql数据库的编码为uft8mb4 (2):修改数据表的编码为utf8mb4 (3):修改连接数据库的连接代码 更改数据库编码:ALTER DATABASE caitu99 CHARACTER SET utf8mb4 COLLATE utf8mb4_gen 阅读全文
posted @ 2019-10-14 11:10 BloggerSb 阅读(684) 评论(0) 推荐(0)
摘要: SELECT @rownum:=@rownum+1 AS rownum,a.order_id ,case when a.Ordered =1 then '已分单' end as Ordered,a.printed ,a.order_sn ,a.user_id ,b.user_name ,a.cons 阅读全文
posted @ 2019-10-13 09:12 BloggerSb 阅读(557) 评论(0) 推荐(0)
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 89 下一页