Empty datareader

Hi Aspose Team,
I’ve notice that when I do a mailmerge with an empty data reader, I receive a blank document.
Example:

SqlDataReader reader = new SqlDataReader()
doc.MailMerge.Execute(reader) //return a blank doc : "/r"

Is there a way to avoid receiving a blank docume

Hello!
Thank you for asking this.
What do you mean under avoiding receiving empty document? Maybe if data reader is empty you shouldn’t produce the document at all.
Regards,