Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web Control
Message
From
25/06/2005 21:30:42
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Web Control
Environment versions
Environment:
C# 1.1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01026550
Message ID:
01026550
Views:
65
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
Next
Reply
Map
View

Click here to load this message in the networking platform