A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Word Mailmerge from C# using datatable



 
 
Thread Tools Display Modes
  #1  
Old April 21st, 2008, 05:19 PM posted to microsoft.public.word.mailmerge.fields
csouchik
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  
Old April 21st, 2008, 08:40 PM posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,239
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  
Old April 22nd, 2008, 11:37 PM posted to microsoft.public.word.mailmerge.fields
csouchik
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  
Old April 23rd, 2008, 12:48 AM posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,239
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.






 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:03 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.