Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Image field on Web Form
Message
 
À
31/05/2002 06:27:08
Fausto Garcia
Independent Developer
Lima, Pérou
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00663317
Message ID:
00663495
Vues:
14
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform