The easiest way to load a random banner of all active banners is to use code like the following:
<%= Westwind.Web.Banners.BannerManager.Current.GetNextBanner() %>
To filter by a specific type (as in the Type field in the banner table) specify a type string parameter:
<%= Westwind.Web.Banners.BannerManager.Current.GetNextBanner("dotnet") %>
You can also render a specific banner
<%= Westwind.Web.Banners.BannerManager.Current.RenderBanner("41231111")%>