我正在尝试在c#中读取ssis包我使用了下面的代码,但是在执行时遇到错误
string filepath = "C:\\Package.dtsx";
System.IO.StreamReader myFile =
new System.IO.StreamReader(filepath);
string myString = myFile.ReadToEnd();
myFile.Close();
StringReader theReader = new StringReader(myString);
DataSet theDataSet = new DataSet();
theDataSet.ReadXml(theReader);
DataTable dt = theDataSet.Tables[0];
表(ConnectionManager)不能是嵌套关系中的子表。
有什么方法可以读取ssis包并将其转换为表格格式吗?