Discussion Locked

building a word document using vb.net and sql server data

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

how do i get all data from SQL server data and then create a word document base on those data. When i transfer those datas into word, i want it to select label template in word and then put the data in there. so it looks like this in word:

Peter Lastname
123 hello street
westport ca 06854

John Smith
123 ola street
portwest va 12934

thank you

and all of this happens when you click on a butotn on a website

1 reply

by tony hopkinson

WordML

and

this might help

http://www.microsoft.com/downloads/details.aspx?familyid=3ff9c915-30e5-430e-95b3-621dccd25150&displaylang=en

I had a play with it from C# and Office 2003 and 5, just inserting stuff at named bookmarks.

It worked but wasn't very extensible.

People could twiddle with tehbtemplate to chnage the layout, fonts etc add static stuff, but the books marks were too public.

Course in this case the templates were local, so that shouldn't be an issue.

This discussion is closed to new replies.