04 2022 档案

摘要:C# JsonConvert时间格式问题 var format = new IsoDateTimeConverter(); format.DateTimeFormat = "yyyy-MM-dd hh:mm:ss"; string param = JsonConvert.SerializeObjec 阅读全文
posted @ 2022-04-19 12:05 microsoft-zhcn 阅读(56) 评论(0) 推荐(0)
摘要:获取 PasswordBox 中密码的代码如下: // 使用一个IntPtr类型值来存储加密字符串的起始点 IntPtr p = System.Runtime.InteropServices.Marshal.SecureStringToBSTR(this.passwordBoxPassword.Se 阅读全文
posted @ 2022-04-08 15:46 microsoft-zhcn 阅读(208) 评论(0) 推荐(1)
摘要:通过 Nuget 下载对应的包 下载完之后带上依赖一共有这么几个: EntityFramework System.Data.SQLite System.Data.SQLite.Core System.Data.SQLite.EF6 System.Data.SQLite.Linq 下载SQLite工具 阅读全文
posted @ 2022-04-01 14:08 microsoft-zhcn 阅读(284) 评论(0) 推荐(0)