Generates XML files for DeltaPro from Amazon invoices
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
712 B

7 years ago
using System;
using libxl;
namespace extract
{
class Program
{
static void Main(string[] args)
{
try
{
Book book = new BinBook();
book.load("example.xls");
Sheet sheet = book.getSheet(0);
string s = sheet.readStr(2, 1);
Console.WriteLine(s);
double d = sheet.readNum(3, 1);
Console.WriteLine(d);
}
catch (System.Exception e)
{
Console.WriteLine(e.Message);
}
Console.Write("\nPress any key to exit...");
Console.ReadKey();
}
}
}