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

C#

 
GeneralRe: DataBindingComplete on ComboBox? Pin
Dewald19-Jan-11 4:00
Dewald19-Jan-11 4:00 
GeneralRe: DataBindingComplete on ComboBox? Pin
_Erik_19-Jan-11 5:58
_Erik_19-Jan-11 5:58 
AnswerRe: DataBindingComplete on ComboBox? Pin
MumbleB19-Jan-11 6:24
MumbleB19-Jan-11 6:24 
GeneralRe: DataBindingComplete on ComboBox? Pin
Dewald19-Jan-11 20:40
Dewald19-Jan-11 20:40 
Questionhow should i word this... and better...how should i do it? Pin
jwalker34318-Jan-11 17:01
jwalker34318-Jan-11 17:01 
AnswerRe: how should i word this... and better...how should i do it? Pin
PIEBALDconsult18-Jan-11 18:19
mvePIEBALDconsult18-Jan-11 18:19 
GeneralRe: how should i word this... and better...how should i do it? Pin
jwalker34319-Jan-11 1:59
jwalker34319-Jan-11 1:59 
AnswerRe: how should i word this... and better...how should i do it? Pin
#realJSOP18-Jan-11 23:47
mve#realJSOP18-Jan-11 23:47 
You need to develop what's called an ad-hoc query interface. I'd probably create a form that contained the following controls in a row:

Label (with column name)
ComboBox (allows the user to select an operator, like <, = >, etc - "=" is the default selection)
TextBox (allows the user to specify the value used in the expression)
ComboBox (allows the user to specify END, AND or OR - END is the default selection)

If the user selected AND or OR in the last combobox, add another row of controls to the form.

When the user indicates that he's done specifying parameters, create a LINQ query that conforms to the specified parameters.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997


GeneralRe: how should i word this... and better...how should i do it? Pin
jwalker34319-Jan-11 2:05
jwalker34319-Jan-11 2:05 
GeneralRe: how should i word this... and better...how should i do it? Pin
#realJSOP19-Jan-11 2:10
mve#realJSOP19-Jan-11 2:10 
GeneralRe: how should i word this... and better...how should i do it? Pin
DaveyM6919-Jan-11 2:48
professionalDaveyM6919-Jan-11 2:48 
GeneralRe: how should i word this... and better...how should i do it? Pin
#realJSOP19-Jan-11 2:52
mve#realJSOP19-Jan-11 2:52 
GeneralRe: how should i word this... and better...how should i do it? Pin
jwalker34319-Jan-11 16:37
jwalker34319-Jan-11 16:37 
QuestionHow to pin List&lt;byte[]&gt; to unmanaged byte** Pin
Chesnokov Yuriy18-Jan-11 2:09
professionalChesnokov Yuriy18-Jan-11 2:09 
AnswerRe: How to pin List<byte[]> to unmanaged byte** Pin
Ravi Sant18-Jan-11 2:26
Ravi Sant18-Jan-11 2:26 
AnswerRe: How to pin List to unmanaged byte** Pin
Chesnokov Yuriy18-Jan-11 2:35
professionalChesnokov Yuriy18-Jan-11 2:35 
AnswerRe: How to pin List<byte[]> to unmanaged byte** Pin
_Erik_18-Jan-11 2:37
_Erik_18-Jan-11 2:37 
GeneralRe: How to pin List to unmanaged byte** Pin
Chesnokov Yuriy18-Jan-11 2:48
professionalChesnokov Yuriy18-Jan-11 2:48 
GeneralRe: How to pin List to unmanaged byte** Pin
DaveyM6918-Jan-11 2:57
professionalDaveyM6918-Jan-11 2:57 
QuestionRe: How to pin List to unmanaged byte** Pin
Chesnokov Yuriy18-Jan-11 3:03
professionalChesnokov Yuriy18-Jan-11 3:03 
GeneralRe: How to pin List to unmanaged byte** Pin
_Erik_18-Jan-11 3:01
_Erik_18-Jan-11 3:01 
AnswerRe: How to pin List to unmanaged byte** Pin
Chesnokov Yuriy18-Jan-11 3:06
professionalChesnokov Yuriy18-Jan-11 3:06 
GeneralRe: How to pin List to unmanaged byte** Pin
_Erik_18-Jan-11 3:17
_Erik_18-Jan-11 3:17 
AnswerRe: How to pin List to unmanaged byte** Pin
Chesnokov Yuriy18-Jan-11 3:20
professionalChesnokov Yuriy18-Jan-11 3:20 
GeneralRe: How to pin List to unmanaged byte** Pin
_Erik_18-Jan-11 3:47
_Erik_18-Jan-11 3:47 

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.