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: 11.2.0 build 590 for .NET 4.5
Syntax
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.
Remarks
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