how to bind dataset values in html table in C#? where my html table is written in txt file and it gets appended to mailbody -


[html script of table appended mail], used streamreader read txt file , created new outlook application draft email , wrote mail.htmlbody+=textstream.tostring(); whereas dataset contains values database. ][1]

instead of writing c# code in txt file can use placeholders <<<place_holder_for_dsclinkkey>>>.

string tmpbody = textstream.tostring().replace(<placeholder>, <actualdbvalue>); 

do above placeholders.

and finally

mail.htmlbody+=tmpbody ; 

Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -