Click here to Skip to main content
16,014,816 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to find item in a bind combobox Pin
J$4-Mar-08 5:50
J$4-Mar-08 5:50 
GeneralRe: How to find item in a bind combobox Pin
baranils4-Mar-08 6:15
baranils4-Mar-08 6:15 
Questioni need ur helps Pin
thejakl554-Mar-08 5:27
thejakl554-Mar-08 5:27 
GeneralRe: i need ur helps Pin
Xmen Real 4-Mar-08 7:16
professional Xmen Real 4-Mar-08 7:16 
Question(4/4)%2 = 1? wtf? Pin
jchalfant4-Mar-08 4:27
jchalfant4-Mar-08 4:27 
AnswerRe: (4/4)%2 = 1? wtf? Pin
J$4-Mar-08 5:17
J$4-Mar-08 5:17 
AnswerRe: (4/4)%2 = 1? wtf? Pin
leppie4-Mar-08 5:59
leppie4-Mar-08 5:59 
GeneralRe: (4/4)%2 = 1? wtf? Pin
jchalfant4-Mar-08 6:41
jchalfant4-Mar-08 6:41 
While C# can handle double % double, ADO.Net expressions can't. I've tried that, no love. Doing so produces a MessageBox at runtime saying

Cannot perform 'Mod' operation on System.Double and System.Double.

What I'm trying to do is get around the lack of bitwise operation support in ADO.Net expressions. In doing so I was hoping to be able to easily bind some control properties to boolean values in a datatable whose values are determined by an expression (somecolumn/somenumber)%2=1. Unfortunately I don't think this is possible.

Oh, and the title, is an oops. What I meant was 3/4%2.
GeneralRe: (4/4)%2 = 1? wtf? Pin
leppie4-Mar-08 7:18
leppie4-Mar-08 7:18 
GeneralRe: (4/4)%2 = 1? wtf? Pin
jchalfant4-Mar-08 7:38
jchalfant4-Mar-08 7:38 
AnswerRe: (4/4)%2 = 1? wtf? Pin
Guffa4-Mar-08 8:13
Guffa4-Mar-08 8:13 
GeneralRe: (4/4)%2 = 1? wtf? Pin
jchalfant4-Mar-08 8:26
jchalfant4-Mar-08 8:26 
AnswerRe: (4/4)%2 = 1? wtf? Pin
Luc Pattyn4-Mar-08 13:13
sitebuilderLuc Pattyn4-Mar-08 13:13 
GeneralRe: (4/4)%2 = 1? wtf? Pin
jchalfant4-Mar-08 13:29
jchalfant4-Mar-08 13:29 
GeneralRe: (4/4)%2 = 1? wtf? Pin
Luc Pattyn4-Mar-08 14:07
sitebuilderLuc Pattyn4-Mar-08 14:07 
Generalreading a binary file Pin
ES Kim4-Mar-08 4:21
ES Kim4-Mar-08 4:21 
AnswerRe: reading a binary file Pin
Eslam Afifi4-Mar-08 4:50
Eslam Afifi4-Mar-08 4:50 
GeneralAttempted to read and write protected memory… ActiveX on Vista Pin
anderslundsgard4-Mar-08 4:18
anderslundsgard4-Mar-08 4:18 
GeneralRe: Attempted to read and write protected memory… ActiveX on Vista Pin
leppie4-Mar-08 6:00
leppie4-Mar-08 6:00 
GeneralRe: Attempted to read and write protected memory… ActiveX on Vista Pin
Pete O'Hanlon4-Mar-08 10:08
mvePete O'Hanlon4-Mar-08 10:08 
GeneralRe: Attempted to read and write protected memory… ActiveX on Vista Pin
anderslundsgard4-Mar-08 19:59
anderslundsgard4-Mar-08 19:59 
GeneralRe: Attempted to read and write protected memory… ActiveX on Vista Pin
anderslundsgard4-Mar-08 20:10
anderslundsgard4-Mar-08 20:10 
GeneralRe: Attempted to read and write protected memory… ActiveX on Vista Pin
Pete O'Hanlon4-Mar-08 23:13
mvePete O'Hanlon4-Mar-08 23:13 
GeneralRe: Attempted to read and write protected memory… ActiveX on Vista Pin
anderslundsgard5-Mar-08 0:41
anderslundsgard5-Mar-08 0:41 
GeneralRe: Attempted to read and write protected memory… ActiveX on Vista Pin
mav.northwind5-Mar-08 3:21
mav.northwind5-Mar-08 3:21 

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.