Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 2nd, 2006, 04:42 PM
Authorized User
 
Join Date: Jan 2006
Location: , , .
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to create a document template and add db data

How to create a document template and add db 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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create generic XSL Template to create table Venkatachalapathy XSLT 5 March 11th, 2008 07:49 AM
document create clinfix BOOK: Professional Ajax ISBN: 978-0-471-77778-6 3 August 8th, 2006 07:09 PM
Sending email using word template and DB tissa Classic ASP Basics 7 July 7th, 2004 11:39 PM
Add and Remove Nodes in XML document. tutul128 XML 3 March 1st, 2004 10:17 AM



All times are GMT -4. The time now is 11:52 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.