Click here to Skip to main content
15,609,864 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all

I am creating html table dyanmically with the user specified information, actually it is used as format for mail , now i want to replace this html table with already existed html table in some other html file.

pls provide any solution for this,
Posted
Comments
Uday P.Singh 13-Oct-11 8:03am    
not clear, elaborate your question.

1 solution

Hi,

just add iframe instead of html table.

like

C#
 resdiv.innerHtml="<tabe......>

or

resdiv.controls.add(htmltable);
</tabe......>


replace above code with iframe

C#
resdiv.innerHtml="<iframe src="your html filepath" width="" height=""></iframe>";

or

by using htmlTextWriter or filereader classess you can read entire html file and write into whereever you want

All the Best
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900