开发者

Writing HTML to a user control

I'm creating a web user control and want to get some ht开发者_如何转开发ml from a datasource and write it to the page. I initially though I should just use response.write, but the problem with that is it writes the message above everything in the page the user control lives in - I guess because the uc is built before the page.

Does any one know of a better approach?


you can use Literal control to write HTML code

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜