setting tag info for datagridviewrows

Posted on 2007-08-07
Last Modified: 2013-11-05
I am trying to set the tag info for each row in my datagridview.  The problem is that when I place my mouse over the row no tag appears.  Even if I don't try and set the tag value the tag still doesn't appear when I place my mouse over it.  What am I doing wrong?  Here is my code.

        For Each row In Me.DataGridView1.Rows
             row.tag="some info"
Question by:NevSoFly
    LVL 96

    Expert Comment

    by:Bob Learned
    Are you trying to display a tool tip for each row?  If so, you need to use a ToolTip extender provider to allow you to display tool tip text.

    The .Tag property is a generic property for storing information.


    Author Comment

    I am trying to display extra data about the record in the datagridview.  So yes I guess I am trying to display a tool tip.
    LVL 96

    Accepted Solution

    The cell has the ToolTipText property that you can set.  You can't set it for a column or a row.


    Author Comment

    Once agian, thanks.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    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…
    Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    761 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

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now