看你的错误提示,应该是 DataTable schemaTable = objConn.GetOleDbSchemaTable(System.Data.OleDb.OleDbSchemaGuid.Tables, null);这行没有获取到表名。
schemaTable未取得值