?
Solved

Insert picture to datagid cell

Posted on 2009-04-14
2
Medium Priority
?
217 Views
Last Modified: 2013-12-26
Hello can  someone help me to add  images  to a datagrid cell i am using vb 2005 linked from  ms access 2003.Also  bellow is code i make but i think  is wrong thnks
thnks
Private Sub CategoriesDataGridView_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles CategoriesDataGridView.CellContentClick
        Dim dgImage As New DataGridViewImageColumn
        dgImage.Image = Drawing.Image.FromFile("D:\")
        dgImage.ReadOnly = True
        dgImage.ImageLayout = DataGridViewImageCellLayout.Normal
        CategoriesDataGridView.Columns.Add(dgImage)
        CategoriesDataGridView.DataSource = Db1DataSet

Open in new window

0
Comment
Question by:demoniumz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 1500 total points
ID: 24143966
0
 
LVL 1

Author Comment

by:demoniumz
ID: 24145345
datagrid view not datagrid sorry i misspelit
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

649 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