NetBlog主题

常用的C#带参数SQLite数据库,修改数据
数据库

常用的C#带参数SQLite数据库,修改数据

1661 0

public bool Updata(Model.ProgrammeModel model){bool b = false;StringBuilder strSql = new StringBuilder();strSql.Append("update programme set ");strSql.Append("dy=@dy,");strSql.Append("dl=@dl,");strSql.Append("xx=@xx,"…

C#,常用的SQLiteHelper基类
C#类库与方法

C#,常用的SQLiteHelper基类

3131 0

2019-01-27更新 using System; using System.Data; using System.Data.SQLite;namespace LQWVJE.DAL {public static class SQLiteHelper{/// <summary>/// ConnectionString样例:Data Source=Test.db3;Pooling=true;FailIfMissing=false/// </summary>public st…