privatevoidbtnImportExcel_Click(objectsender,EventArgse){SqlConnectionconn=newSqlConnection();try{OpenFileDialogopenFile=newOpenFileDialog();//打开文件对话框。if(openFile.ShowDialog()==DialogResult.OK){stringconnStr=null;stringfilename=openFile.FileName...
查看全文