05 2017 档案

摘要:foreach修改字典报集合已修改可能无: Dictionary<string, int> list = new Dictionary<string, int>(); 采用for的方法也可 List<string> test = new List<string>(list.Keys); for (i 阅读全文
posted @ 2017-05-29 17:25 S11900085 阅读(274) 评论(0) 推荐(0)
摘要:数据库的路径不同。检查建立数据库的路径是否相同。 例如: 实际路径: C:\Users\Administrator\Desktop\test\TPData.sdf 系统配置的路径:Data Source=|DataDirectory|\Test.sdf 阅读全文
posted @ 2017-05-27 09:27 S11900085 阅读(815) 评论(0) 推荐(0)
摘要:MySQL数据库是一个基于结构化数据的开源数据库。SQL语句是MySQL数据库中核心语言。不过在MySQL数据库中执行SQL语句,需要小心两个陷阱。 陷阱一:空值不一定为空 空值是一个比较特殊的字段。在MySQL数据库中,在不同的情形下,空值往往代表不同的含义。这是MySQL数据库的一种特性。如在普 阅读全文
posted @ 2017-05-27 09:23 S11900085 阅读(332) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u 阅读全文
posted @ 2017-05-19 10:31 S11900085 阅读(2759) 评论(0) 推荐(0)