Please consider this code:
PropertyInfo[] props = worksheetPart.GetType().GetProperties(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static);
var myVar = props.Where(o => o.Name == "Worksheet").First();
How I can convert myVar to DocumentFormat.OpenXml.Spreadsheet.WorkSheet
with it's data?
thanks
Aucun commentaire:
Enregistrer un commentaire