Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VB.net Detect whether DataGridView has image or not

Posted on 2014-07-25
4
Medium Priority
?
386 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
  • 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 2000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
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.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

782 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