开发者

combining pages at runtime

I am working on an asp.net page and I want to load the contents of another web page and place it in a panel. This is th开发者_C百科e kind of thing that you can do with curl, but I need a native c# solution.


If the HTML you are looking at is in your application, migrate it to a User Control and include that where you need access to the other HTML.

If it is from an external site that you don't control, I'd use an iFrame. How it looks depends more upon how the other sites data is formatted than yours.


You need a native HTML method, actually. How about loading the content into an iframe?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜