Click here to Skip to main content
16,016,527 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to detect a mouse click outside a focused control Pin
Eddy Vluggen10-Feb-15 11:21
professionalEddy Vluggen10-Feb-15 11:21 
GeneralRe: How to detect a mouse click outside a focused control Pin
dilkonika10-Feb-15 18:23
dilkonika10-Feb-15 18:23 
GeneralRe: How to detect a mouse click outside a focused control Pin
Eddy Vluggen10-Feb-15 22:27
professionalEddy Vluggen10-Feb-15 22:27 
QuestionDynamic Linq with Where and ObjectParameter doesn't work Pin
dilkonika6-Feb-15 17:15
dilkonika6-Feb-15 17:15 
QuestionRe: Dynamic Linq with Where and ObjectParameter doesn't work Pin
Richard Deeming9-Feb-15 2:31
mveRichard Deeming9-Feb-15 2:31 
AnswerRe: Dynamic Linq with Where and ObjectParameter doesn't work Pin
Richard Deeming9-Feb-15 2:39
mveRichard Deeming9-Feb-15 2:39 
GeneralRe: Dynamic Linq with Where and ObjectParameter doesn't work Pin
dilkonika9-Feb-15 18:26
dilkonika9-Feb-15 18:26 
GeneralRe: Dynamic Linq with Where and ObjectParameter doesn't work Pin
Richard Deeming10-Feb-15 1:32
mveRichard Deeming10-Feb-15 1:32 
Something like this:
VB.NET
Dim mylist As IQueryable(Of Myobject)
Dim ob1 As New List(Of Object)
Dim filter As New List(Of String)

If condition1 Then
    filter.Add("id = @" & ob1.Count)
    ob1.Add(idToFind)
End If

If condition2 Then
    filter.Add("field2 = @" & ob1.Count)
    ob1.Add(field2Value)
End If

...

Dim dynstr As String = String.Join(" AND ", filter)
mylist = context.MyObjects.Where(dynstr, ob1.ToArray()).ToList




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


Questionhow to create RDLC report using multiple sql columns with same values to count in vb.net Pin
DHARM PAL5-Feb-15 1:45
DHARM PAL5-Feb-15 1:45 
AnswerRe: how to create RDLC report using multiple sql columns with same values to count in vb.net Pin
Richard Deeming5-Feb-15 3:52
mveRichard Deeming5-Feb-15 3:52 
GeneralRe: how to create RDLC report using multiple sql columns with same values to count in vb.net Pin
DHARM PAL5-Feb-15 4:44
DHARM PAL5-Feb-15 4:44 
GeneralRe: how to create RDLC report using multiple sql columns with same values to count in vb.net Pin
Richard Deeming5-Feb-15 4:46
mveRichard Deeming5-Feb-15 4:46 
GeneralRe: how to create RDLC report using multiple sql columns with same values to count in vb.net Pin
DHARM PAL5-Feb-15 4:50
DHARM PAL5-Feb-15 4:50 
GeneralRe: how to create RDLC report using multiple sql columns with same values to count in vb.net Pin
Richard Deeming5-Feb-15 4:51
mveRichard Deeming5-Feb-15 4:51 
GeneralRe: how to create RDLC report using multiple sql columns with same values to count in vb.net Pin
DHARM PAL5-Feb-15 5:00
DHARM PAL5-Feb-15 5:00 
GeneralRe: how to create RDLC report using multiple sql columns with same values to count in vb.net Pin
Richard Deeming5-Feb-15 5:13
mveRichard Deeming5-Feb-15 5:13 
GeneralRe: how to create RDLC report using multiple sql columns with same values to count in vb.net Pin
DHARM PAL5-Feb-15 5:17
DHARM PAL5-Feb-15 5:17 
GeneralRe: how to create RDLC report using multiple sql columns with same values to count in vb.net Pin
Richard Deeming5-Feb-15 5:51
mveRichard Deeming5-Feb-15 5:51 
GeneralRe: how to create RDLC report using multiple sql columns with same values to count in vb.net Pin
DHARM PAL5-Feb-15 6:19
DHARM PAL5-Feb-15 6:19 
GeneralRe: how to create RDLC report using multiple sql columns with same values to count in vb.net Pin
Richard Deeming5-Feb-15 6:53
mveRichard Deeming5-Feb-15 6:53 
GeneralRe: how to create RDLC report using multiple sql columns with same values to count in vb.net Pin
DHARM PAL5-Feb-15 7:13
DHARM PAL5-Feb-15 7:13 
GeneralRe: how to create RDLC report using multiple sql columns with same values to count in vb.net Pin
Richard Deeming5-Feb-15 8:00
mveRichard Deeming5-Feb-15 8:00 
GeneralRe: how to create RDLC report using multiple sql columns with same values to count in vb.net Pin
DHARM PAL5-Feb-15 8:06
DHARM PAL5-Feb-15 8:06 
GeneralRe: how to create RDLC report using multiple sql columns with same values to count in vb.net Pin
Richard Deeming5-Feb-15 8:11
mveRichard Deeming5-Feb-15 8:11 
GeneralRe: how to create RDLC report using multiple sql columns with same values to count in vb.net Pin
DHARM PAL5-Feb-15 8:22
DHARM PAL5-Feb-15 8:22 

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.