OpenFileDialog ofd = new OpenFileDialog();
ofd.Filter = "Excel files (*.xls)|*.xls" ;
if( ofd.ShowDialog() == DialogResult.OK )
{
string sFile = ofd.FileName;
Application.DoEvents();
InFile(sFile);
ShowViewMessage();
MessageBox.Show("全部导入成功");
}
cai();现在是这样,我有表格1,表格2,表格3,表格4~~~~~~要导入进数据库
但是表格比较多的时候不是要混去嘛,我想实现“提示导入成功”顺便提示用户导入的是哪个表格。。比方“表格1导入成功”     要怎么样把表格的名称读出来啊?