TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mks Khalid
NA
1
918
error during image retrieving from data base
Jun 28 2014 3:49 AM
hey i m using the following code to display image from database it give an errro
error=paramer is not valid
MemoryStream stream = new MemoryStream();
con.Open();
SqlCommand command = new SqlCommand("select image from loll", con);
byte[] image = (byte[])command.ExecuteScalar();
stream.Write(image, 0, image.Length);
con.Close();
Bitmap bitmap = new Bitmap(stream);
pictureBox1.Image = bitmap;
Reply
Answers (
1
)
how to use excel indirect function in c#
facebook Login