How can I save and retrieve an image from a SQL Server database in ASP, VB.NET ? When I double click on FileUpload1 control no Private Sub comes. What am I missing?
How can I save and retrieve an image from a SQL Server database in
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Create a table in a SQL Server 2000 database which has at least one field of type IMAGE.
used a file open dialog box
using FileInfo class to retrieved the file size
Declare an array of that size
By using FileStream object, I filled the byte array
see what you messing!
have fun!