2012年3月13日
摘要: protected void Button1_Click(object sender, EventArgs e) { if (!FileUpload1.HasFile) { return; } using (FileStream filestream = File.OpenRead(FileUpload1.PostedFile.FileName)) { using (StreamReader streamreader = new StreamReader(filestream)) { //创建数据库耗时,所以不要每次操作都创建 using (SqlConnection conn = new . 阅读全文
posted @ 2012-03-13 12:32 张彦山 阅读(238) 评论(0) 推荐(0) 编辑
摘要: -各个省市资料http://www.xzqh.org/quhua/index.htm--不足:23山东和16山东重复--创建DBPromary数据库createdatabaseDBPromaryuseDBPromarygo--创建promary表createtablepromary(proIDintprimarykey,proNamevarchar(50)notnull)----------------------------------------------------------------------------------------------------------------- 阅读全文
posted @ 2012-03-13 08:36 张彦山 阅读(645) 评论(1) 推荐(0) 编辑