摘要: 硬盘文件:C#代码: 1 class Program 2 { 3 static void Main(string[] args) 4 { 5 string[] namefile = File.ReadAllLines(@"f:\student.txt");//读取硬盘文件 6 7 8 //存储SQL受影响行数的变量 9 int rowsnum=0;10 //连接数据库11 string sqlconstr =... 阅读全文
posted @ 2012-06-08 00:24 net515 阅读(528) 评论(2) 推荐(0) 编辑