## How to create a document template and add ddb data using visual studio tools for offi

How to create a document template and add ddb data using visual studio tools for office

I am using visual studio 2003
installed vsto TOOLS FOR OFFICE
MSDE
Windows Xp
VSTO 2003
NorthWind database:
customers table:
CompanyName
ContactName
orders:
OrderDate
ShippedDate

I am trying to learn how to use tools for office using the northwind database.

I am trying to populate NorthWind db data on to an existing word document template
that can be saved then re-used :

I cannot find any tutorial that shows how to perform this. MSDN does not show this
msdn showes how to

Example: (where there are ______ I want to have a database field
auto-populate)

_________ (Northwind db field: CompanyName)

Dear Mr. _______ (Northwind db field = ContactName) Todays Date:_______

Your order has been received as of: _________(Northwind db field = orderDate)
Thankyou for your order Blah blah blah blah blah blah Blah blah blah blah blah blah
Blah blah blah blah blah blah Blah blah blah blah blah blah Blah blah blah blah blah blah
Blah blah blah blah blah blah Blah blah blah blah blah blah Blah blah blah blah blah blah

Your order has been shipped on _______(Northwind db field: shippedDate)

sincerly,
Bud Light Year