2020年8月7日

datatable写入sqlite

摘要: public class DataTableToSQLte { private string tableName; public string TableName { get { return tableName; } set { tableName = value; } } private str 阅读全文

posted @ 2020-08-07 10:49 lingtw 阅读(884) 评论(0) 推荐(0)

2020年2月23日

AccessHelper.cs

摘要: /* access 连接工具类 */ using System; using System.Collections.Generic; using System.Text; using System.Data.SqlClient; using System.Data; using System.Con 阅读全文

posted @ 2020-02-23 19:45 lingtw 阅读(252) 评论(0) 推荐(0)

SqlSugarHelper.cs

摘要: using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Linq.Expressions; using 阅读全文

posted @ 2020-02-23 19:44 lingtw 阅读(3179) 评论(1) 推荐(0)

NPOIHelper.cs

摘要: using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks 阅读全文

posted @ 2020-02-23 19:43 lingtw 阅读(236) 评论(0) 推荐(0)

2020年2月22日

ORACLE分页查询SQL语句(最有效的分页)

摘要: 1.无ORDER BY排序的写法。(效率最高)(经过测试,此方法成本最低,只嵌套一层,速度最快!即使查询的数据量再大,也几乎不受影响,速度依然!) SELECT * FROM (SELECT ROWNUM AS rowno, t.* FROM emp t WHERE hire_date BETWEE 阅读全文

posted @ 2020-02-22 20:49 lingtw 阅读(851) 评论(0) 推荐(0)

2018年12月11日

SQL Pretty Printer for SSMS 很不错的SQL格式化插件

摘要: 写SQL语句或者脚本时,看到凌乱的格式就头大了,于是决心找一款SQL语句格式化的工具。 功夫不负有心人还真的被我找到一款很好用,很方便的SQL Server插件:SQL Pretty Printer for SSMS 安装SQL Pretty Printer 以后你可以在 SSMS (SQL Ser 阅读全文

posted @ 2018-12-11 23:19 lingtw 阅读(149) 评论(0) 推荐(0)

2018年11月6日

使用DbProviderFactories.GetFactory方法需要配置数据库提供者

摘要: C# Code: 阅读全文

posted @ 2018-11-06 21:31 lingtw 阅读(541) 评论(0) 推荐(0)

导航