Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
csouchik csouchik is offline
external usenet poster
 
Posts: 2
Default Word Mailmerge from C# using datatable

Is it possible in Office 2007 Word to perform a mailmerge operation from a C#
application using a datatable as the merge source? I have seen articles that
create a temp doc from the datatable then use the temp doc to merge. I would
like to skip creating the temp doc.
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Word Mailmerge from C# using datatable

What exactly do you mean by a datatable?

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"csouchik" wrote in message
...
Is it possible in Office 2007 Word to perform a mailmerge operation from a
C#
application using a datatable as the merge source? I have seen articles
that
create a temp doc from the datatable then use the temp doc to merge. I
would
like to skip creating the temp doc.



  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
csouchik csouchik is offline
external usenet poster
 
Posts: 2
Default Word Mailmerge from C# using datatable

Within C# code I am doing a query on a SQL Server database, the result set is
returned into a .NET DataTable object.

Thanks in advance,
Chris

"Doug Robbins - Word MVP" wrote:

What exactly do you mean by a datatable?

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"csouchik" wrote in message
...
Is it possible in Office 2007 Word to perform a mailmerge operation from a
C#
application using a datatable as the merge source? I have seen articles
that
create a temp doc from the datatable then use the temp doc to merge. I
would
like to skip creating the temp doc.




  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Word Mailmerge from C# using datatable

Sorry, I don't know anything about .NET DataTables

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"csouchik" wrote in message
...
Within C# code I am doing a query on a SQL Server database, the result set
is
returned into a .NET DataTable object.

Thanks in advance,
Chris

"Doug Robbins - Word MVP" wrote:

What exactly do you mean by a datatable?

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"csouchik" wrote in message
...
Is it possible in Office 2007 Word to perform a mailmerge operation
from a
C#
application using a datatable as the merge source? I have seen articles
that
create a temp doc from the datatable then use the temp doc to merge. I
would
like to skip creating the temp doc.






  #5   Report Post  
harrypeter86 harrypeter86 is offline
Junior Member
 
Posts: 1
Default

Quote:
Originally Posted by csouchik View Post
Is it possible in Office 2007 Word to perform a mailmerge operation from a C#
application using a datatable as the merge source? I have seen articles that
create a temp doc from the datatable then use the temp doc to merge. I would
like to skip creating the temp doc.
for mail merage using c# in office 2007, Easiest way to Spire.Doc, just a few line of code,

mail merage sample,
http://www.e-iceblue.com/Knowledgeba...MailMerge.html

http://www.e-iceblue.com/Introduce/w...introduce.html

Hope useful to you.
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I graph data from a MSWORD datatable? Bill Luisi Tables 4 November 19th 06 07:44 PM
Mailmerge Word Formatting bhurta Microsoft Word Help 4 October 4th 06 01:29 PM
Mailmerge - Word 2000 Sandra via OfficeKB.com Mailmerge 6 May 23rd 06 12:17 AM
Word Mailmerge geofbranch Mailmerge 2 January 16th 06 06:46 PM
Word mailmerge Newbie Mailmerge 1 July 28th 05 05:06 AM


All times are GMT +1. The time now is 02:24 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"