The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I am using to product for performing mail merge. i create a document with mail merge fields.
I am getting error when i am trying to Execute group. I am using following Coding:-
document.MailMerge.ExecuteGroup(pdt)
and i m getting following error:
"Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index"
Stack Trace is following :- " at System.Collections.ArrayList.get_Item(Int32 index) at Syncfusion.DocIO.DLS.ParagraphItemCollection.get_Item(Int32 index) at Syncfusion.DocIO.DLS.MailMerge.GroupSelector.FindInBodyItems(BodyItemCollection bodyItems) at Syncfusion.DocIO.DLS.MailMerge.GroupSelector.ProcessGroups(WTextBody body, IRowsEnumerator rowsEnum) at Syncfusion.DocIO.DLS.MailMerge.ExecuteGroup(WSection section, IRowsEnumerator rowsEnum) at Syncfusion.DocIO.DLS.MailMerge.ExecuteGroup(IRowsEnumerator rowsEnum) at Syncfusion.DocIO.DLS.MailMerge.ExecuteGroup(DataTable table) at SDP.Base.QueryBuilder.MailMergeExecuter.ExecuteGrp(WordDocument document, MergeTable MT, DataSet DSet, WordDocument orgDoc, WordDocument& doc1, Int32 counter)"
Can you please guide me how to resolve this issue.
BPBhuvaneswari P Syncfusion Team July 18, 2008 11:11 AM UTC
Hi Gurpreet,
Thank you for your interest in Syncfusion products.
I am afraid that I am not able to reproduce the issue. Could you please provide your sample to reproduce the issue, so that we would be able to reproduce the issue in our end and investigate more on this issue.