Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
AnswerRe: SaveSetting Pin
BillWoodruff1-Feb-12 5:36
professionalBillWoodruff1-Feb-12 5:36 
GeneralRe: SaveSetting Pin
Ian_urquhart1-Feb-12 5:56
Ian_urquhart1-Feb-12 5:56 
GeneralRe: SaveSetting Pin
SledgeHammer011-Feb-12 6:27
SledgeHammer011-Feb-12 6:27 
QuestionHow to find if client is idle or not? Pin
sreenathpktr1-Feb-12 1:06
sreenathpktr1-Feb-12 1:06 
AnswerRe: How to find if client is idle or not? Pin
DaveAuld1-Feb-12 1:32
professionalDaveAuld1-Feb-12 1:32 
AnswerRe: How to find if client is idle or not? Pin
DaveyM691-Feb-12 3:21
professionalDaveyM691-Feb-12 3:21 
AnswerRe: How to find if client is idle or not? Pin
jschell1-Feb-12 10:10
jschell1-Feb-12 10:10 
Question[SOLVED] Checkbox Column - DatagridView Pin
AmbiguousName1-Feb-12 0:51
AmbiguousName1-Feb-12 0:51 
hello guys... i have this datagridview inwhich one of the columns is Checkbox column. I have this following code which works well if I put it into Button's Click Event.

<pre>
ArrayList arr = new ArrayList();
for (int i = 0; i < dgStudents.Rows.Count; i++)
{
bool val = Convert.ToBoolean(dgStudents.Rows[i].Cells[0].Value);
if (val)
arr.Add(Convert.ToInt32(dt.Rows[i]["StudentId"]));
}
</pre>

But this code does not help when I wanna check an individual row. Lets say I check/uncheck third row, then how do I know about this change? I tried <b>CellValueChanged</b> but it did not work. thnx for any help.

-- modified 2-Feb-12 4:02am.
AnswerRe: Checkbox Column - DatagridView Pin
Eddy Vluggen1-Feb-12 9:55
professionalEddy Vluggen1-Feb-12 9:55 
AnswerRe: Checkbox Column - DatagridView Pin
AmbiguousName1-Feb-12 18:20
AmbiguousName1-Feb-12 18:20 
AnswerRe: Checkbox Column - DatagridView Pin
Abhinav S1-Feb-12 21:32
Abhinav S1-Feb-12 21:32 
AnswerRe: Checkbox Column - DatagridView Pin
AmbiguousName1-Feb-12 22:02
AmbiguousName1-Feb-12 22:02 
QuestionAuto-increment value on UPDATE Pin
Dewald31-Jan-12 21:41
Dewald31-Jan-12 21:41 
AnswerRe: Auto-increment value on UPDATE Pin
Pete O'Hanlon31-Jan-12 22:15
mvePete O'Hanlon31-Jan-12 22:15 
GeneralRe: Auto-increment value on UPDATE Pin
Dewald31-Jan-12 22:29
Dewald31-Jan-12 22:29 
AnswerRe: Auto-increment value on UPDATE Pin
Łukasz Nowakowski31-Jan-12 22:16
Łukasz Nowakowski31-Jan-12 22:16 
AnswerRe: Auto-increment value on UPDATE Pin
Abhinav S1-Feb-12 0:32
Abhinav S1-Feb-12 0:32 
GeneralRe: Auto-increment value on UPDATE Pin
Dewald1-Feb-12 0:49
Dewald1-Feb-12 0:49 
AnswerRe: Auto-increment value on UPDATE Pin
Abhinav S1-Feb-12 19:55
Abhinav S1-Feb-12 19:55 
AnswerRe: Auto-increment value on UPDATE Pin
David Skelly1-Feb-12 2:31
David Skelly1-Feb-12 2:31 
QuestionTaskbar Notifier and Windows 7 Pin
Anfai Inyotu31-Jan-12 12:45
Anfai Inyotu31-Jan-12 12:45 
AnswerRe: Taskbar Notifier and Windows 7 Pin
OriginalGriff31-Jan-12 20:58
mveOriginalGriff31-Jan-12 20:58 
GeneralRe: Taskbar Notifier and Windows 7 Pin
Anfai Inyotu1-Feb-12 5:30
Anfai Inyotu1-Feb-12 5:30 
QuestionHow to Receive Messages Without a Window [SOLVED] Pin
Richard Andrew x6431-Jan-12 11:42
professionalRichard Andrew x6431-Jan-12 11:42 
AnswerRe: How to Receive Messages Without a Window Pin
Luc Pattyn31-Jan-12 11:46
sitebuilderLuc Pattyn31-Jan-12 11:46 

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.