Click here to Skip to main content
15,917,328 members
Home / Discussions / C#
   

C#

 
AnswerRe: get all from keyboard Pin
Luc Pattyn4-Dec-09 13:28
sitebuilderLuc Pattyn4-Dec-09 13:28 
AnswerRe: get all from keyboard Pin
Dave Kreskowiak4-Dec-09 17:03
mveDave Kreskowiak4-Dec-09 17:03 
Questiondatagridview Pin
farokhian4-Dec-09 11:04
farokhian4-Dec-09 11:04 
AnswerRe: datagridview Pin
Abhishek Sur4-Dec-09 12:00
professionalAbhishek Sur4-Dec-09 12:00 
GeneralDid you know that '&' can be a logical AND operator? [modified] Pin
Rajasekharan Vengalil4-Dec-09 9:16
Rajasekharan Vengalil4-Dec-09 9:16 
GeneralRe: Did you know that '&' can be a logical AND operator? Pin
harold aptroot4-Dec-09 9:28
harold aptroot4-Dec-09 9:28 
GeneralRe: Did you know that '&' can be a logical AND operator? Pin
Rajasekharan Vengalil4-Dec-09 10:20
Rajasekharan Vengalil4-Dec-09 10:20 
GeneralRe: Did you know that '&' can be a logical AND operator? Pin
OriginalGriff4-Dec-09 9:29
mveOriginalGriff4-Dec-09 9:29 
Fortunately it should only work if (as in your example) both the parameters are bool - as it then performs a bitwise AND of the two results. Hence why it evaluates both rather than stopping when one fails.
It's still quite nasty though - I wonder if you can turn it off...
if ((dataTable.Rows != null) & (dataTable.Rows.Count > 0))
   {
   ...
   }
would throw exactly the exception you are testing to avoid!

No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.

This message is made of fully recyclable Zeros and Ones

"Rumour has it that if you play Microsoft CDs backwards you will hear Satanic messages.Worse still, is that if you play them forwards they will install Windows"

GeneralRe: Did you know that '&' can be a logical AND operator? Pin
Rajasekharan Vengalil4-Dec-09 10:17
Rajasekharan Vengalil4-Dec-09 10:17 
GeneralRe: Did you know that '&' can be a logical AND operator? Pin
Luc Pattyn4-Dec-09 10:16
sitebuilderLuc Pattyn4-Dec-09 10:16 
GeneralRe: Did you know that '&' can be a logical AND operator? Pin
harold aptroot4-Dec-09 11:06
harold aptroot4-Dec-09 11:06 
GeneralRe: Did you know that '&' can be a logical AND operator? Pin
Luc Pattyn4-Dec-09 11:12
sitebuilderLuc Pattyn4-Dec-09 11:12 
GeneralRe: Did you know that '&' can be a logical AND operator? Pin
harold aptroot4-Dec-09 11:14
harold aptroot4-Dec-09 11:14 
GeneralRe: Did you know that '&' can be a logical AND operator? Pin
Luc Pattyn4-Dec-09 11:16
sitebuilderLuc Pattyn4-Dec-09 11:16 
GeneralRe: Did you know that '&' can be a logical AND operator? Pin
Abhinav S4-Dec-09 21:58
Abhinav S4-Dec-09 21:58 
QuestionVisual Studio addin - code color Pin
LimitedAtonement4-Dec-09 8:33
LimitedAtonement4-Dec-09 8:33 
AnswerRe: Visual Studio addin - code color Pin
LimitedAtonement4-Dec-09 9:04
LimitedAtonement4-Dec-09 9:04 
QuestionHow to make MouseHover and Tab selected on a tab control with images only Pin
sushantkaura4-Dec-09 8:27
sushantkaura4-Dec-09 8:27 
QuestionWinForms - DataGridView AutoResizeColumns not working. Pin
Sir Dot Net4-Dec-09 6:20
Sir Dot Net4-Dec-09 6:20 
QuestionHow to combine two datatables into single datatable Pin
K V Sekhar4-Dec-09 6:10
K V Sekhar4-Dec-09 6:10 
AnswerRe: How to combine two datatables into single datatable Pin
PIEBALDconsult4-Dec-09 6:54
mvePIEBALDconsult4-Dec-09 6:54 
AnswerRe: How to combine two datatables into single datatable Pin
Shameel4-Dec-09 7:01
professionalShameel4-Dec-09 7:01 
GeneralRe: How to combine two datatables into single datatable Pin
K V Sekhar6-Dec-09 4:22
K V Sekhar6-Dec-09 4:22 
GeneralRe: How to combine two datatables into single datatable Pin
Shameel7-Dec-09 7:00
professionalShameel7-Dec-09 7:00 
QuestionSignature panel with Mobile 2003.... Pin
Jacob Dixon4-Dec-09 5:00
Jacob Dixon4-Dec-09 5:00 

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.