DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2004
    Posts
    364

    Question Whitspace in datagridview cell

    I've noticed that if the entire cell is not filled then you have to select a piece of the cell that actually has data or you don't get a value for that cell. When ever I click on the whitespace in a cell It doesn't give me the value of that cell. Any ideas?

    Thanks All..

    jb

  2. #2
    Join Date
    Jul 2004
    Posts
    364

    Unhappy Omg

    I put the code in the CellContentClick event, not the Click event. It works fine now.

    jb

Similar Threads

  1. Color DataGridView cell on exception
    By jellyfish5000 in forum .NET
    Replies: 2
    Last Post: 03-01-2007, 08:29 AM
  2. DataGridView Returning Values from Cells
    By triley35 in forum .NET
    Replies: 1
    Last Post: 07-08-2006, 12:34 AM
  3. Replies: 1
    Last Post: 09-27-2005, 09:48 PM
  4. cell color onclick
    By Mark Taylor in forum Architecture and Design
    Replies: 1
    Last Post: 10-25-2000, 07:21 PM
  5. cell color onclick
    By Mark Taylor in forum Web
    Replies: 0
    Last Post: 10-24-2000, 10:08 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links