04 2021 档案

摘要:System.Data.DataTable dtSource = ToDataTable<EmpExtension>(empList); Response.ContentType = "application/vnd.ms-excel"; Response.ContentEncoding = Enc 阅读全文
posted @ 2021-04-23 10:20 RookieCoderAdu 阅读(93) 评论(0) 推荐(0) 编辑
摘要:项目报错,起初以为是dll问题,结果各种不行。 后来查资料,才发现是要将网站对应的应用程序池 里面的表示设置为 LocalSystem 设置一次即可,以后设置成其他也行 阅读全文
posted @ 2021-04-22 18:58 RookieCoderAdu 阅读(821) 评论(0) 推荐(0) 编辑
摘要:System.Data.DataTable dtSource = ToDataTable<EmpExtension>(empList); //数据源 context.Response.ContentType = "application/vnd.ms-excel"; context.Response 阅读全文
posted @ 2021-04-22 10:51 RookieCoderAdu 阅读(193) 评论(0) 推荐(0) 编辑
摘要:让文字超过div宽度的时候,自动换行 word-wrap: break-word; word-break: break-all; 假如想让文字两行显示,超过两行时以省略号结尾,则需要设置 display:-webkit-box;text-overflow:ellipsis;-webkit-line- 阅读全文
posted @ 2021-04-08 14:54 RookieCoderAdu 阅读(1382) 评论(0) 推荐(0) 编辑
摘要:SqlConnection conn = new SqlConnection(connString); conn.Open(); SqlTransaction trans = conn.BeginTransaction(); try { //插入操作 conn.Execute(@"insert in 阅读全文
posted @ 2021-04-07 11:16 RookieCoderAdu 阅读(561) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示