Click here to Skip to main content
15,918,268 members
Home / Discussions / C#
   

C#

 
AnswerRe: help... backup directory... any idea/class? Pin
Alan Balkany26-Nov-08 4:24
Alan Balkany26-Nov-08 4:24 
GeneralRe: help... backup directory... any idea/class? Pin
leeoze26-Nov-08 20:11
leeoze26-Nov-08 20:11 
QuestionPlease I really need your help Pin
Tiunay25-Nov-08 21:32
Tiunay25-Nov-08 21:32 
AnswerRe: Please I really need your help Pin
Thomas Weller25-Nov-08 21:42
Thomas Weller25-Nov-08 21:42 
GeneralRe: Please I really need your help [modified] Pin
Tiunay25-Nov-08 22:17
Tiunay25-Nov-08 22:17 
AnswerRe: Please I really need your help Pin
Christian Graus25-Nov-08 22:16
protectorChristian Graus25-Nov-08 22:16 
GeneralRe: Please I really need your help Pin
Tiunay25-Nov-08 22:21
Tiunay25-Nov-08 22:21 
QuestionDisplay different ToolTip message in different parts of the same DataGridView control Pin
Desmond Lim25-Nov-08 21:15
Desmond Lim25-Nov-08 21:15 
Hi,

I'm trying to do this and am wondering if it is possible.

I have a DataGridView control. I would like the ToolTip message to show some data (on the DataGridView itself) when the cursor is over that particular row in the control. If the cursor is out side the data rows but within the control (i.e. in the parts that have no data), I would like it to show another message.

I have tried this.

private void grid_CellMouseEnter(object sender, DataGridViewCellEventArgs e)
        {
            if (e.RowIndex != -1 && ds.Information.Rows[e.RowIndex]["Value"] != null)
            {
                this.grid.CurrentCell.ToolTipText = ds.Information.Rows[e.RowIndex]["Value"].ToString();
            }
            else
            {
                toolTip.Show("Right-click to display menu", this.grid);
            }
        }


What do I have to do to get it working?

Thanks.

modified on Wednesday, November 26, 2008 8:55 PM

Questionadd-in using c# Pin
Maverickcool25-Nov-08 21:02
Maverickcool25-Nov-08 21:02 
QuestionBarCode Report Pin
md_refay25-Nov-08 20:31
md_refay25-Nov-08 20:31 
AnswerRe: BarCode Report Pin
Christian Graus25-Nov-08 20:59
protectorChristian Graus25-Nov-08 20:59 
GeneralRe: BarCode Report Pin
md_refay25-Nov-08 21:08
md_refay25-Nov-08 21:08 
GeneralRe: BarCode Report Pin
Thomas Weller25-Nov-08 21:16
Thomas Weller25-Nov-08 21:16 
AnswerRe: BarCode Report Pin
Alan Balkany26-Nov-08 5:27
Alan Balkany26-Nov-08 5:27 
QuestionWindow Desktop sharing Pin
tarun jindal25-Nov-08 20:30
tarun jindal25-Nov-08 20:30 
QuestionclsADONET? Pin
dec8225-Nov-08 19:54
dec8225-Nov-08 19:54 
AnswerRe: clsADONET? Pin
Christian Graus25-Nov-08 20:23
protectorChristian Graus25-Nov-08 20:23 
Questionhow can i get at text with \ character in c# Pin
kimo code25-Nov-08 19:44
kimo code25-Nov-08 19:44 
AnswerRe: how can i get at text with \ character in c# Pin
Christian Graus25-Nov-08 19:53
protectorChristian Graus25-Nov-08 19:53 
GeneralRe: how can i get at text with \ character in c# Pin
kimo code25-Nov-08 20:12
kimo code25-Nov-08 20:12 
GeneralRe: how can i get at text with \ character in c# Pin
Christian Graus25-Nov-08 20:20
protectorChristian Graus25-Nov-08 20:20 
GeneralRe: how can i get at text with \ character in c# Pin
kimo code25-Nov-08 20:24
kimo code25-Nov-08 20:24 
GeneralRe: how can i get at text with \ character in c# Pin
Christian Graus25-Nov-08 21:00
protectorChristian Graus25-Nov-08 21:00 
GeneralRe: how can i get at text with \ character in c# Pin
Thomas Weller25-Nov-08 20:54
Thomas Weller25-Nov-08 20:54 
GeneralRe: how can i get at text with \ character in c# Pin
kimo code26-Nov-08 19:08
kimo code26-Nov-08 19:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.