Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Image field on Web Form
Message
 
To
31/05/2002 06:27:08
Fausto Garcia
Independent Developer
Lima, Peru
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00663317
Message ID:
00663495
Views:
15
You would use the image control. You set the ImageURL property to the image you want to display. In the case of the Northwind database, you would set the ImageURL to the PhotoPath field. Keep in mind though, the path you set to the ImageURL property much be accessable and have correct rights.

>Hi,
>
>How can I show a database field that contains a binary representation of an image on a web form? For example in the "Employees" table on the "Northwind" database that comes with SQL Server there a field named "Photo", I was wondering how could I retrieve this field and show the image on the a form?
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Reply
Map
View

Click here to load this message in the networking platform