by Electronic Screw
Feedback
|
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days):
54693/
277
|
|
|
|
| References |
|
|
|
|
|
Article Feedback
User Comments
Title:
Prefent lost Image
Name:
Raul
Date:
10/6/2011 3:46:00 PM
Comment:
How to prevent lost image uploaded with ajax upload file control and showded with image Handler on dropdown postback auto postback??
|
Title:
Thanks
Name:
Burak TARHANLI (from Turkey)
Date:
10/4/2011 10:28:21 AM
Comment:
This is an excellent article. Thank you so much.
|
Title:
Question...
Name:
Hans Peter, Denmark
Date:
2/11/2010 2:21:40 AM
Comment:
I have an image saved into a MSSQL Server as varbinary(MAX). How do I get this image and execute it using a handler?
I have found some code here: [code] Public Sub getImage() Dim connectionString As String Dim connection As SqlConnection Dim adapter As New SqlDataAdapter connectionString = "*******" Dim UserId As String = System.Web.Security.Membership.GetUser().ProviderUserKey.ToString connection = New SqlConnection(connectionString)
Dim command As New SqlCommand("SELECT Img1 FROM Nomogram WHERE bID=133", connection) connection.Open() Dim pictureData As Byte() = DirectCast(command.ExecuteScalar(), Byte()) connection.Close() Dim picture As Image = Nothing 'Create a stream in memory containing the bytes that comprise the image. Using stream As New IO.MemoryStream(pictureData) 'Read the stream and create an Image object from the data. picture = Image.FromStream(stream) End Using End Sub [/CODE]
Any idead on how to display it`? Kind regards Hans Peter
|
Title:
give the informaion very easy format
Name:
venu
Date:
12/23/2008 9:51:31 AM
Comment:
u will provide the information very easy
|
Title:
Thanks
Name:
Gabriel
Date:
11/27/2008 3:53:58 AM
Comment:
Thanks! That was easy and helpful.
|
Title:
please provide the details of storing images in database using asp.net
Name:
danny
Date:
10/12/2007 9:36:01 AM
Comment:
please provide the same at the earliest
|
Title:
Response to: Missing a Reference for dsImagesTableAdapters?
Name:
Mark
Date:
8/30/2007 9:51:30 AM
Comment:
My bad: I'd put the xsd and xss files in the app_data folder.
Excellent example!
|
Title:
Missing a Reference for dsImagesTableAdapters?
Name:
Mark
Date:
8/30/2007 9:26:30 AM
Comment:
Where do we make the reference to the dsImagesTableAdapters?
thanks
|
Title:
nice
Name:
abc
Date:
8/24/2007 1:30:55 AM
Comment:
nice concept
|
Title:
ASP.NET
Name:
sadat arsalan
Date:
7/21/2007 1:17:42 PM
Comment:
tell me about buttons coding in ASP.NET using HTML codes
|
Title:
Displaying Images in ASP.NET Using HttpHandlers
Name:
Electronic Screw
Date:
7/19/2007 5:34:45 AM
Comment:
Yes, you could do that and the content-type was the "key" to that. I'm writing on that and will be available in a couple of days.
Thanks
|
Title:
Displaying Images in ASP.NET Using HttpHandlers
Name:
Jeff
Date:
7/18/2007 10:50:17 AM
Comment:
Could you use this same sort of set up to pull things like .doc or .pdf files that might be stored in a database?
|
|
Product Spotlight
|
|
|