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

C#

 
GeneralRe: C# Execution of Java program Pin
Richard Andrew x6429-Nov-11 14:24
professionalRichard Andrew x6429-Nov-11 14:24 
GeneralRe: C# Execution of Java program Pin
Pete O'Hanlon30-Nov-11 0:27
mvePete O'Hanlon30-Nov-11 0:27 
GeneralRe: C# Execution of Java program Pin
jschell30-Nov-11 10:13
jschell30-Nov-11 10:13 
QuestionLinq To Sql - Update Hierarchical Data Pin
Kevin Marois29-Nov-11 7:01
professionalKevin Marois29-Nov-11 7:01 
AnswerRe: Linq To Sql - Update Hierarchical Data Pin
Not Active29-Nov-11 8:31
mentorNot Active29-Nov-11 8:31 
QuestionChecking or Unchecking Based on Some Value Pin
AmbiguousName28-Nov-11 20:28
AmbiguousName28-Nov-11 20:28 
AnswerRe: Checking or Unchecking Based on Some Value Pin
Wayne Gaylard28-Nov-11 20:48
professionalWayne Gaylard28-Nov-11 20:48 
GeneralRe: Checking or Unchecking Based on Some Value Pin
DaveyM6928-Nov-11 21:35
professionalDaveyM6928-Nov-11 21:35 
or simpler without the ternary operator:
C#
checkBox.Checked = (int)reader["var"] == 1;

Dave

Binging is like googling, it just feels dirtier.
Please take your VB.NET out of our nice case sensitive forum.
Astonish us. Be exceptional. (Pete O'Hanlon)

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)



GeneralRe: Checking or Unchecking Based on Some Value Pin
Wayne Gaylard28-Nov-11 21:41
professionalWayne Gaylard28-Nov-11 21:41 
GeneralRe: Checking or Unchecking Based on Some Value Pin
AmbiguousName28-Nov-11 22:48
AmbiguousName28-Nov-11 22:48 
GeneralRe: Checking or Unchecking Based on Some Value Pin
Wayne Gaylard28-Nov-11 22:56
professionalWayne Gaylard28-Nov-11 22:56 
GeneralRe: Checking or Unchecking Based on Some Value Pin
AmbiguousName28-Nov-11 23:08
AmbiguousName28-Nov-11 23:08 
GeneralRe: Checking or Unchecking Based on Some Value Pin
Wayne Gaylard28-Nov-11 23:13
professionalWayne Gaylard28-Nov-11 23:13 
GeneralRe: Checking or Unchecking Based on Some Value Pin
AmbiguousName28-Nov-11 23:22
AmbiguousName28-Nov-11 23:22 
Questioncall C++ dll from C# without name mangling Pin
Paulraj G28-Nov-11 17:57
Paulraj G28-Nov-11 17:57 
AnswerRe: call C++ dll from C# without name mangling Pin
Wayne Gaylard28-Nov-11 18:03
professionalWayne Gaylard28-Nov-11 18:03 
GeneralRe: call C++ dll from C# without name mangling Pin
Paulraj G28-Nov-11 18:16
Paulraj G28-Nov-11 18:16 
GeneralRe: call C++ dll from C# without name mangling Pin
Richard MacCutchan28-Nov-11 22:58
mveRichard MacCutchan28-Nov-11 22:58 
QuestionRegEx.Split Pin
devvvy28-Nov-11 17:01
devvvy28-Nov-11 17:01 
AnswerRe: RegEx.Split Pin
Peter_in_278028-Nov-11 17:18
professionalPeter_in_278028-Nov-11 17:18 
AnswerRe: RegEx.Split Pin
devvvy28-Nov-11 17:29
devvvy28-Nov-11 17:29 
AnswerRe: RegEx.Split Pin
PIEBALDconsult28-Nov-11 17:48
mvePIEBALDconsult28-Nov-11 17:48 
AnswerRe: RegEx.Split Pin
BillWoodruff29-Nov-11 14:22
professionalBillWoodruff29-Nov-11 14:22 
GeneralRe: RegEx.Split Pin
devvvy29-Nov-11 22:56
devvvy29-Nov-11 22:56 
GeneralRe: RegEx.Split Pin
BillWoodruff30-Nov-11 7:44
professionalBillWoodruff30-Nov-11 7:44 

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.