Solved

VB.net Detect whether DataGridView has image or not

Posted on 2014-07-25
4
374 Views
Last Modified: 2014-08-04
Hi

I have a databound DataGridView whose first column is an image column
Many of the cells don't have images
How do I detect whether the cell has an image or not
0
Comment
Question by:Murray Brown
[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
4 Comments
 
LVL 21

Expert Comment

by:Randy Poole
ID: 40219137
can you post your aspx definition for your grid
0
 

Author Comment

by:Murray Brown
ID: 40229556
Hi. This is not ASP.net. It is a Windows form
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 40239163
Check if the cell value is null or not.

Are you using the component one grid?
0
 

Author Closing Comment

by:Murray Brown
ID: 40239524
Thanks
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

623 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