Guest User

Untitled

a guest
Jun 25th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. //dt is the datatable which will have all the data from the excel sheet.
  2. DataView dv = new DataView(dt);
  3.  
  4. dtUpdated = dv.ToTable(true, columnName);
  5. //dtupated will have only specific column related data
  6.  
  7. DataView dv = new DataView(dt);
  8. dtUpdated = dv.ToTable(true, columnName);// exception is thrown in this line.
Add Comment
Please, Sign In to add comment