单元测试用excel connstr
[TestMethod()] [DeploymentItem("test.xlsx")] [DataSource("System.Data.Odbc", @"Dsn=Excel Files;Driver=Microsoft Excel Driver (*.xlsx)};DriverId=790;Dbq=.\test.xlsx", "Sheet1$", Microsoft.VisualStudio.TestTools.UnitTesting.DataAccessMethod.Sequential)] public void MyTestMethod2()