Click here to Skip to main content
15,886,422 members
Home / Discussions / C#
   

C#

 
AnswerRe: Appliction like taskbar Pin
originSH4-Apr-07 23:52
originSH4-Apr-07 23:52 
AnswerRe: Appliction like taskbar Pin
__DanC__4-Apr-07 6:12
__DanC__4-Apr-07 6:12 
AnswerRe: Appliction like taskbar Pin
Muhammad Nauman Yousuf4-Apr-07 6:22
Muhammad Nauman Yousuf4-Apr-07 6:22 
GeneralRe: Appliction like taskbar Pin
__DanC__4-Apr-07 6:39
__DanC__4-Apr-07 6:39 
QuestionDataGridView problem Pin
t4ure4n4-Apr-07 1:42
t4ure4n4-Apr-07 1:42 
AnswerRe: DataGridView problem Pin
Hayder Marzouk4-Apr-07 2:41
Hayder Marzouk4-Apr-07 2:41 
GeneralRe: DataGridView problem Pin
joon vh.4-Apr-07 2:48
joon vh.4-Apr-07 2:48 
AnswerRe: DataGridView problem Pin
joon vh.4-Apr-07 2:46
joon vh.4-Apr-07 2:46 
Are you just trying to retrieve the data from the datagridview columns? or are you trying to capture them into events.
if it's the former, then you can simply do this:
dataGridView1.Columns.Add("foo", "foo");
DataGridViewCheckBoxColumn cbc = new DataGridViewCheckBoxColumn();
cbc.Name = "bar";
dataGridView1.Columns.Add(cbc);
dataGridView1.Rows.Add("xyzzy", true);
dataGridView1.Rows.Add("yzzyx", false);

Console.WriteLine((bool)((dataGridView1.Rows[0].Cells[1]).Value));
Console.WriteLine((bool)((dataGridView1.Rows[1].Cells[1]).Value));


Cast the value of the cell you need into a bool, and you have the Checked value.


ps: please don't randomly place layout tags over text in your post, makes it hard to read.





Visual Studio can't evaluate this, can you?
public object moo<br />
        {<br />
__get { return moo; }<br />
__set { moo = value; }<br />
}

QuestionChanging the order of the flow layout panel items in real time Pin
sinosoidal4-Apr-07 1:23
sinosoidal4-Apr-07 1:23 
QuestionSystem.IO.Directory.Exists with drive as parameter doesn't work in Vista (?) Pin
ea3-lf4-Apr-07 1:11
ea3-lf4-Apr-07 1:11 
AnswerRe: System.IO.Directory.Exists with drive as parameter doesn't work in Vista (?) Pin
joon vh.4-Apr-07 3:03
joon vh.4-Apr-07 3:03 
AnswerRe: System.IO.Directory.Exists with drive as parameter doesn't work in Vista (?) Pin
Douglas Troy4-Apr-07 3:56
Douglas Troy4-Apr-07 3:56 
QuestionSend smily icons in Email Pin
Dipan Patel From Gandhinagar4-Apr-07 0:53
Dipan Patel From Gandhinagar4-Apr-07 0:53 
AnswerRe: Send smily icons in Email Pin
Christian Graus4-Apr-07 1:29
protectorChristian Graus4-Apr-07 1:29 
QuestionHow to sort arraylist ? Pin
Saikek4-Apr-07 0:48
Saikek4-Apr-07 0:48 
AnswerRe: How to sort arraylist ? Pin
rah_sin4-Apr-07 0:57
professionalrah_sin4-Apr-07 0:57 
AnswerRe: How to sort arraylist ? Pin
Christian Graus4-Apr-07 1:00
protectorChristian Graus4-Apr-07 1:00 
GeneralRe: How to sort arraylist ? Pin
DavidNohejl4-Apr-07 1:57
DavidNohejl4-Apr-07 1:57 
GeneralRe: How to sort arraylist ? Pin
Martin#4-Apr-07 1:09
Martin#4-Apr-07 1:09 
AnswerRe: How to sort arraylist ? Pin
DavidNohejl4-Apr-07 1:52
DavidNohejl4-Apr-07 1:52 
GeneralRe: How to sort arraylist ? Pin
Martin#4-Apr-07 2:11
Martin#4-Apr-07 2:11 
GeneralRe: How to sort arraylist ? Pin
DavidNohejl4-Apr-07 21:44
DavidNohejl4-Apr-07 21:44 
GeneralRe: How to sort arraylist ? Pin
Martin#4-Apr-07 22:12
Martin#4-Apr-07 22:12 
GeneralRe: How to sort arraylist ? Pin
DavidNohejl4-Apr-07 23:06
DavidNohejl4-Apr-07 23:06 
GeneralRe: How to sort arraylist ? Pin
Martin#4-Apr-07 23:09
Martin#4-Apr-07 23:09 

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.