Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web Control
Message
De
25/06/2005 21:30:42
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Web Control
Versions des environnements
Environment:
C# 1.1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01026550
Message ID:
01026550
Vues:
63
Hi i want to create a web control that allow me to pass the PKID the return the data from DB as image in which i can drop it to my page. do you have any idea?
I can do it by opening a separate page and render the data as stream
  Response.ContentType = "image/jpeg";		
  Response.BinaryWrite( (byte[])dtrSearch["DocBin"] );
  /// DtrSearch is a SqlDataReader
but when i creatr a control i can make it work because I cant use the response object any idea or alternative? thanks
Roses are #FF0000 Violets are #0000FF all my base are belong to you
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform