开发者

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

开发者 https://www.devze.com 2023-01-04 04:22 出处:网络
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.

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

精彩评论

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