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

javascript - Knockout pushing observable and computed data to an observable array -

'hasOwnProperty' in javascript -

Trouble making a JSON string -