Click here to Skip to main content
15,895,283 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# Find and Replace Pin
BobJanova23-Nov-11 6:16
BobJanova23-Nov-11 6:16 
AnswerRe: C# Find and Replace Pin
PIEBALDconsult23-Nov-11 7:26
mvePIEBALDconsult23-Nov-11 7:26 
SuggestionRe: C# Find and Replace Pin
Nevin Janzen23-Nov-11 7:30
Nevin Janzen23-Nov-11 7:30 
AnswerRe: C# Find and Replace Pin
BillWoodruff24-Nov-11 7:24
professionalBillWoodruff24-Nov-11 7:24 
QuestionHow to control Cell Value in DatagridView ... Pin
nassimnastaran23-Nov-11 5:25
nassimnastaran23-Nov-11 5:25 
AnswerRe: How to control Cell Value in DatagridView ... Pin
Dan Mos23-Nov-11 5:30
Dan Mos23-Nov-11 5:30 
GeneralRe: How to control Cell Value in DatagridView ... Pin
nassimnastaran23-Nov-11 6:31
nassimnastaran23-Nov-11 6:31 
AnswerRe: How to control Cell Value in DatagridView ...[modified] Pin
Dan Mos23-Nov-11 6:41
Dan Mos23-Nov-11 6:41 
True, my bad, confused with another grid like control.

dataGridView1.Rows[i].Cells[j] is the correct one. and your original one is ok too.

[edit]
On a closer look the logic is flawed as hell. I just took a quick glips at the code the first time.

Don't activate tabs inside the for loops.

Use a boolean, set it to true if something is empty, then ouside the loops do your thing
such as showing messageboxes, activating tabcontrols or what have you based on that boolean logic.
All the best,

Dan

GeneralRe: How to control Cell Value in DatagridView ... Pin
nassimnastaran23-Nov-11 6:46
nassimnastaran23-Nov-11 6:46 
AnswerRe: How to control Cell Value in DatagridView ... Pin
Dan Mos23-Nov-11 7:17
Dan Mos23-Nov-11 7:17 
GeneralRe: How to control Cell Value in DatagridView ... Pin
nassimnastaran23-Nov-11 7:40
nassimnastaran23-Nov-11 7:40 
Questiona hypothetical about use of custom Attributes in C# in WinForms Pin
BillWoodruff23-Nov-11 1:07
professionalBillWoodruff23-Nov-11 1:07 
AnswerRe: a hypothetical about use of custom Attributes in C# in WinForms Pin
Pete O'Hanlon23-Nov-11 1:15
mvePete O'Hanlon23-Nov-11 1:15 
AnswerRe: a hypothetical about use of custom Attributes in C# in WinForms Pin
BobJanova23-Nov-11 6:27
BobJanova23-Nov-11 6:27 
QuestionAttempted to read or write protected memory. This is often an indication that other memory is corrupt. Pin
Paulraj G22-Nov-11 21:55
Paulraj G22-Nov-11 21:55 
AnswerRe: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Pin
BobJanova22-Nov-11 22:35
BobJanova22-Nov-11 22:35 
AnswerRe: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Pin
Richard MacCutchan23-Nov-11 0:09
mveRichard MacCutchan23-Nov-11 0:09 
AnswerRe: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Pin
Bernhard Hiller23-Nov-11 2:51
Bernhard Hiller23-Nov-11 2:51 
QuestionHighlight Character Pin
phani.sv22-Nov-11 20:19
phani.sv22-Nov-11 20:19 
AnswerRe: Highlight Character Pin
V.22-Nov-11 20:56
professionalV.22-Nov-11 20:56 
GeneralRe: Highlight Character Pin
Nevin Janzen23-Nov-11 3:59
Nevin Janzen23-Nov-11 3:59 
GeneralRe: Highlight Character Pin
phani.sv23-Nov-11 17:37
phani.sv23-Nov-11 17:37 
GeneralRe: Highlight Character Pin
V.23-Nov-11 20:29
professionalV.23-Nov-11 20:29 
QuestionC# 5.0 Pin
Nevin Janzen22-Nov-11 17:35
Nevin Janzen22-Nov-11 17:35 
AnswerRe: C# 5.0 Pin
Dan Mos22-Nov-11 20:46
Dan Mos22-Nov-11 20: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.