摘要:
开发中运行mysql脚本,发现提示mysql提示Column count doesn't match value count at row 1错误, 调试后发现是由于写的SQL语句里列的数目和后面的值的数目不一致, 比如insert into 表名 (field1,field2,field3) va 阅读全文
摘要:
文件操作一:替换文件中的字符 string text = string.Empty; using (FileStream fs = new FileStream("a.txt", FileMode.Open, FileAccess.Read)) { using (StreamReader sr = 阅读全文