摘要: private void btnSelectFile_Click(object sender, EventArgs e) { //打开文件对话框。 OpenFileDialog openFile = new OpenFileDialog(); //后缀名。 openFile.Filter = "Excel文件(*.xls,*.xlsx)|*.xls;*.xlsx"; if (openFile.ShowDialog() == DialogResult.OK) ... 阅读全文
posted @ 2012-12-06 21:53 青春岁月,无怨无悔 阅读(263) 评论(0) 推荐(0) 编辑