SmtpMergingMessageEventArgsMergeRowIndex Property
Gets the index of the data table row which is about to be merged with the mail message template.

Namespace: MailBee.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public int MergeRowIndex { get; }

Property Value

Type: Int32
An integer value representing an index of the row in MergeTable object to be used for mail merge, or 0 if the input was IDataReader rather than DataTable.
The developer can obtain a reference to the DataRow object as follows (in C# syntax): e.MergeTable.Rows[e.MergeRowIndex] where e is an SmtpMergingMessageEventArgs object instance.
See Also