Is there a code-generator to create DataTable definition block from Excel Work sheet?
Posted
by burak ozdogan
on Stack Overflow
See other posts from Stack Overflow
or by burak ozdogan
Published on 2010-03-01T07:44:53Z
Indexed on
2010/04/03
9:13 UTC
Read the original article
Hit count: 434
Hi,
Basically the thing I want to achieve is to have a data-table that I want to use in my unit tests. And when I run my unit tests, I do not want to read any excel file into a data-table -or any call to Db-.
So, I would like to have method that returns a data-table with the values that I can use in my test.
Is there already any written tool to read an excel sheet and generate a code that defines an ADO.Net DataTable?
Thanks, burak ozdogan
© Stack Overflow or respective owner