문제

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