//******************************************************** //提取数据 public void ImportExcelToSqlServer(string fileName) { if (fileName == null) { throw new ArgumentNullException("filename string is null!"); }
if (fileName.Length == 0) { throw new ArgumentException("filename string is empty!"); }