Click here to Skip to main content
15,896,269 members
Home / Discussions / C#
   

C#

 
GeneralRe: conversion problem! Pin
Pete O'Hanlon7-Apr-08 4:19
mvePete O'Hanlon7-Apr-08 4:19 
GeneralRe: conversion problem! Pin
Christian Graus7-Apr-08 11:43
protectorChristian Graus7-Apr-08 11:43 
GeneralRe: conversion problem! Pin
yassir hannoun7-Apr-08 13:19
yassir hannoun7-Apr-08 13:19 
GeneralRe: conversion problem! Pin
Christian Graus7-Apr-08 17:38
protectorChristian Graus7-Apr-08 17:38 
GeneralRe: conversion problem! Pin
Insincere Dave6-Apr-08 17:40
Insincere Dave6-Apr-08 17:40 
GeneralDataTable Click Event Pin
Sean Cleary6-Apr-08 13:48
Sean Cleary6-Apr-08 13:48 
GeneralRe: DataTable Click Event Pin
kaddim7-Apr-08 7:00
kaddim7-Apr-08 7:00 
GeneralRe: DataTable Click Event Pin
jtvberg10-Apr-08 15:07
jtvberg10-Apr-08 15:07 
hook to the DataGridView's CellDoubleClick event
if selecting by row do a
foreach (DataGridViewRow row in this.dgStandings.SelectedRows)<br />
{<br />
goGetYourNewDataMethodWhichTakesAString(row.Cells[0].Value.ToString());<br />
}

where the cell index is the cell you want

or for multiple cells

foreach (DataGridViewCell cell in this.dgStandings.SelectedCells)<br />
{<br />
goGetYourNewDataMethodWhichTakesAStringcell.Value.ToString();<br />
}


or even more simply

goGetYourNewDataMethodWhichTakesAString(this.dgStandings.SelectedCells[0].Value.ToString());
GeneralAutomatic sizing of Textbox at runtime depending on number of lines it contains Pin
karan19816-Apr-08 10:17
karan19816-Apr-08 10:17 
GeneralRe: Automatic sizing of Textbox at runtime depending on number of lines it contains Pin
Christian Graus6-Apr-08 11:10
protectorChristian Graus6-Apr-08 11:10 
GeneralRe: Automatic sizing of Textbox at runtime depending on number of lines it contains Pin
karan19817-Apr-08 7:38
karan19817-Apr-08 7:38 
GeneralRe: Automatic sizing of Textbox at runtime depending on number of lines it contains Pin
Christian Graus7-Apr-08 11:45
protectorChristian Graus7-Apr-08 11:45 
GeneralRe: Automatic sizing of Textbox at runtime depending on number of lines it contains Pin
karan19819-Apr-08 4:14
karan19819-Apr-08 4:14 
GeneralContext Menu Owner Pin
greekius6-Apr-08 8:01
greekius6-Apr-08 8:01 
GeneralRe: Context Menu Owner Pin
Luc Pattyn6-Apr-08 8:08
sitebuilderLuc Pattyn6-Apr-08 8:08 
GeneralRe: Context Menu Owner Pin
greekius6-Apr-08 8:29
greekius6-Apr-08 8:29 
GeneralRe: Context Menu Owner Pin
Giorgi Dalakishvili6-Apr-08 8:10
mentorGiorgi Dalakishvili6-Apr-08 8:10 
GeneralRe: Context Menu Owner Pin
greekius6-Apr-08 8:41
greekius6-Apr-08 8:41 
GeneralRe: Context Menu Owner Pin
Giorgi Dalakishvili6-Apr-08 8:52
mentorGiorgi Dalakishvili6-Apr-08 8:52 
Questionhow to change an existing console application into a service dll Pin
stephan_0076-Apr-08 7:21
stephan_0076-Apr-08 7:21 
AnswerRe: how to change an existing console application into a service dll Pin
Giorgi Dalakishvili6-Apr-08 7:57
mentorGiorgi Dalakishvili6-Apr-08 7:57 
GeneralRe: how to change an existing console application into a service dll Pin
stephan_0076-Apr-08 8:11
stephan_0076-Apr-08 8:11 
GeneralSyncronizing TreeView nodes and RichTextBox [modified] Pin
Mark F.6-Apr-08 7:08
Mark F.6-Apr-08 7:08 
GeneralRe: Syncronizing TreeView nodes and RichTextBox Pin
Luc Pattyn6-Apr-08 7:30
sitebuilderLuc Pattyn6-Apr-08 7:30 
GeneralGet the SID of the user created a file Pin
Yevgeny Efter6-Apr-08 6:27
Yevgeny Efter6-Apr-08 6:27 

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.