Insert DataTable into Excel Workbook with Formats and Formulas
Using C# and
SpreadsheetGear for .NET
Product ID
Description
Units
Unit Cost
Total Cost
10001
Basil
275
$1.99
$547.25
10002
Black Pepper - Fine
325
$2.99
$971.75
10003
Cayenne Pepper
150
$3.99
$598.50
10201
Chili Powder
500
$2.99
$1,495.00
10202
Cumin - Ground
75
$2.99
$224.25
10203
Garlic Powder
600
$1.99
$1,194.00
10401
Marjoram
250
$3.99
$997.50
10402
Onion Powder
300
$1.99
$597.00
10403
Oregano
425
$2.99
$1,270.75
10801
Red Pepper - Crushed
250
$2.99
$747.50
10802
Rosemary
175
$3.99
$698.25
10803
Thyme
225
$3.99
$897.75
Total
$10,239.50
Copyright 2005 © SpreadsheetGear LLC. All Rights Reserved.
www.spreadsheetgear.com