Click here to Skip to main content
15,886,519 members
Home / Discussions / C#
   

C#

 
QuestionUnique correspondence for characters Pin
keeponfalling1213-Sep-20 2:07
keeponfalling1213-Sep-20 2:07 
AnswerRe: Unique correspondence for characters Pin
OriginalGriff13-Sep-20 4:07
mveOriginalGriff13-Sep-20 4:07 
GeneralRe: Unique correspondence for characters Pin
keeponfalling1213-Sep-20 4:22
keeponfalling1213-Sep-20 4:22 
GeneralRe: Unique correspondence for characters Pin
OriginalGriff13-Sep-20 4:54
mveOriginalGriff13-Sep-20 4:54 
AnswerRe: Unique correspondence for characters Pin
trønderen13-Sep-20 4:33
trønderen13-Sep-20 4:33 
AnswerRe: Unique correspondence for characters Pin
Gerry Schmitz13-Sep-20 5:58
mveGerry Schmitz13-Sep-20 5:58 
GeneralRe: Unique correspondence for characters Pin
keeponfalling1214-Sep-20 4:05
keeponfalling1214-Sep-20 4:05 
QuestionHow to add Key and MergeField dynamically into WordProcessing document through C# program Pin
Ganapatisb10-Sep-20 22:30
Ganapatisb10-Sep-20 22:30 
Hi Friends,

I have a scenario where need to generate WordProcessing Report
Here is my template sample below

First Name: «FirstName»
Last Name: «LastName»

Here First Name and Last Name are keys and corresponding Merge-fields are («FirstName» & «LastName»)

Now I have to generate a report where these key and merge-fields need to repeat number of times according to the Employee record. Example if there are fice employees in database, i need to show all five employees record one after other with FirstName and LastName in sequence.

I tried with below code. But this wont help because the key and data value does not show as per template configuration.

Can you please tell me how can i achieve this in C#?

Thanks in advance.
SuggestionRe: How to add Key and MergeField dynamically into WordProcessing document through C# program Pin
Richard MacCutchan10-Sep-20 22:37
mveRichard MacCutchan10-Sep-20 22:37 
Rant[REPOST]: How to add Key and MergeField dynamically into WordProcessing document through C# program Pin
Richard Deeming10-Sep-20 22:49
mveRichard Deeming10-Sep-20 22:49 
QuestionRe: How to add Key and MergeField dynamically into WordProcessing document through C# program Pin
Eddy Vluggen12-Sep-20 16:02
professionalEddy Vluggen12-Sep-20 16:02 
QuestionFuzzy Icons Pin
Richard Andrew x649-Sep-20 15:38
professionalRichard Andrew x649-Sep-20 15:38 
AnswerRe: Fuzzy Icons Pin
Peter_in_27809-Sep-20 17:05
professionalPeter_in_27809-Sep-20 17:05 
GeneralRe: Fuzzy Icons Pin
Richard Andrew x649-Sep-20 20:40
professionalRichard Andrew x649-Sep-20 20:40 
GeneralRe: Fuzzy Icons Pin
Peter_in_27809-Sep-20 20:46
professionalPeter_in_27809-Sep-20 20:46 
GeneralRe: Fuzzy Icons Pin
Richard Andrew x649-Sep-20 21:02
professionalRichard Andrew x649-Sep-20 21:02 
AnswerRe: Fuzzy Icons Pin
Richard MacCutchan9-Sep-20 21:46
mveRichard MacCutchan9-Sep-20 21:46 
GeneralRe: Fuzzy Icons Pin
Richard Andrew x649-Sep-20 21:52
professionalRichard Andrew x649-Sep-20 21:52 
GeneralRe: Fuzzy Icons Pin
Richard MacCutchan9-Sep-20 22:23
mveRichard MacCutchan9-Sep-20 22:23 
GeneralRe: Fuzzy Icons Pin
Richard Andrew x649-Sep-20 22:25
professionalRichard Andrew x649-Sep-20 22:25 
AnswerRe: Fuzzy Icons Pin
Gerry Schmitz10-Sep-20 8:22
mveGerry Schmitz10-Sep-20 8:22 
GeneralRe: Fuzzy Icons Pin
Richard Andrew x6410-Sep-20 8:50
professionalRichard Andrew x6410-Sep-20 8:50 
GeneralRe: Fuzzy Icons Pin
Gerry Schmitz10-Sep-20 9:24
mveGerry Schmitz10-Sep-20 9:24 
GeneralRe: Fuzzy Icons Pin
Richard Andrew x6410-Sep-20 10:48
professionalRichard Andrew x6410-Sep-20 10:48 
AnswerRe: Fuzzy Icons Pin
mo149212-Sep-20 12:49
mo149212-Sep-20 12:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.