![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
Mirindadidas
这个作者很懒,什么都没留下…
展开
-
c# select数据库数据
public class PMInfobyPMHZ { static string DBstr = @"Server=tcp:*****;Initial Catalog=****;Persist Security Info=False;User ID=****;Password=****;MultipleActiveResultSets=False;Encrypt=Tr原创 2017-06-18 14:32:29 · 230 阅读 · 0 评论 -
未将对象引用设置到对象的实例 DataReader 错误解决
测试通过后的方法: List<String> list=new List<string> { }; int index = 0; while (reader.Read()) { if (!原创 2017-06-19 01:41:17 · 275 阅读 · 0 评论