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
asad ahmad
NA
13
502
datagrid view is not showing images
Sep 25 2016 10:38 AM
while(rdr.Read())
{
DataGridViewImageColumn iconColumn = new DataGridViewImageColumn();
ImageConverter ic;
Image img;
Byte[] cbyte;
ic = new ImageConverter();
cbyte = (Byte[])(rdr["Imge"]);
img = (Image)ic.ConvertFrom(cbyte);
Bitmap a = new Bitmap(img);
iconColumn.Image = a;
iconColumn.Name = "Tree";
iconColumn.HeaderText = "Nice tree";
dataGridView1.Columns.Insert(0, iconColumn);
};
Reply
Answers (
2
)
GDF general data format for biosignal file
Want Link the form 1 and Form 2 using a link label