Hi am nagesh,
I want one help friends,
I have one word doc in my project path. and loading from database values in specific fields
mentioned in doc.. like
«Add1»
«Add2»
«Add3»
but if «Add2» not came from DB then its giving 1 line space which i don't want.
i dont want 1 line space if «Add2» data not came from db..how to remove specific
field and line from doc dynamicaly ( actully i want to remove from clone of that doc)
below is my code:
Document doc = new Document(formpath);
Document dstDoc = (Document)doc.Clone(true);
dstDoc.MailMerge.Execute(dtDetails);
where dstDoc is clone of my doc and dtDetails is my data from DB
Please help..