Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. IEnumerable<String> textValues = from cell in row.Descendants<Cell>()
  2. //where cell.CellValue != null
  3. select (cell.DataType.HasValue
  4. && cell.DataType == CellValues.SharedString ? sharedString.ChildElements[int.Parse(cell.CellValue.InnerText)].InnerText : cell.CellValue.InnerText);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement