In asp.net website page i have a frame. I want to load the frame with a html page. But not by specifying frame source as html file,instead by using html source. The source may be varying and i will be fetching it from my database.

So how to load a frame with html source in ASP.net?

有帮助吗?

解决方案

Encode the HTML document as a data: scheme URI and set it as the src to the frame.

其他提示

The source may be varying and i will be fetching it from my database.

Then link the frame to a page that pulls and prints the HTML, giving the primary key as query string parameter.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top