Solved

VB.net Detect whether DataGridView has image or not

Posted on 2014-07-25
4
368 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:murbro
  • 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:murbro
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:murbro
ID: 40239524
Thanks
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

829 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