1) can I get an <asp:Image control to display the dimensions of an
image?
<asp:Image runat="server" Width="x" Height="y"/> 
Do you mean you want it to compute the size for you?

2) why can't I select a filename from a database and apply it to an
adrotator like this:

You can't do it like that, but you can like this:
'(I don't do VB, so this might not be 100% syntactically correct)

dim AdRotator1 as System.Web.UI.WebControls.AdRotator
dim RotatorFile as String
....
RotatorFile = objdr("RotatorFile")
AdRotator1.AdvertisementFile = RotatorFile

<asp:adRotator id="AdRotator1" Runat="server"
AdvertisementFile="<%=RotatorFile%>"></asp:adRotator>


---
You are currently subscribed to dotnet as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%

---------
Administrated by 15 Seconds : http://www.15Seconds.com
List Archives/Search : http://local.15Seconds.com/search
Subscription Information : http://www.15seconds.com/listserv.htm
Advertising Information: http://www.internet.com/mediakit/



---
You are currently subscribed to dotnet as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

---------
Administrated by 15 Seconds : http://www.15Seconds.com
List Archives/Search : http://local.15Seconds.com/search
Subscription Information : http://www.15seconds.com/listserv.htm
Advertising Information: http://www.internet.com/mediakit/


Reply via email to