Solved

How to insert multiple images into cell in DataGridView

Posted on 2009-07-14
3
1,685 Views
Last Modified: 2013-12-17
I binded my datasource to the GridView with an Array.  I added a column called Images.  WIth this column I want to have 3 couple pictures inside each cell and if the user clicks on one of the pictures then it will do something with the information in the row.  My question is how can I get 3 images into a single cell?  
0
Comment
Question by:htn5ca
3 Comments
 
LVL 12

Expert Comment

by:Nirmalan Nagenthiran
ID: 24856448
0
 
LVL 13

Accepted Solution

by:
game-master earned 125 total points
ID: 24856759
0
 

Author Closing Comment

by:htn5ca
ID: 31603563
Great example.  All I did was created a bitmap and a rectangle around the bitmap.  Override the OnClick method so if the click is inside the rectangle then throw an exception.  Thanks a million
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now