开发者

How to include an asp.net widget in an asp.net page

guys, sorry for the title of the post... i'm not so good in english, and it is a little difficult for me to explain.

I'm working on a Advertismnet web site.

I've to insert in different page something like a w开发者_StackOverflowidget ... a listview that show 5 rilevant (payed) ads ...

But as a "good" programmer, i know i don't write things more than once... So i'm asking you... how to "include" a piece of code (aspx and codebehind) in different asp.net page ?

I think you can answer me : "use master page and content page"... but each time, this "widget" will be in different place...

So... please give me the right way ! Thanks in advance!


Look into using an ASP.NET User Control.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜