Click here to Skip to main content
15,896,359 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to detect a mouse click outside a focused control Pin
Eddy Vluggen10-Feb-15 5:20
professionalEddy Vluggen10-Feb-15 5:20 
GeneralRe: How to detect a mouse click outside a focused control Pin
dilkonika10-Feb-15 6:22
dilkonika10-Feb-15 6:22 
GeneralRe: How to detect a mouse click outside a focused control Pin
Eddy Vluggen10-Feb-15 7:40
professionalEddy Vluggen10-Feb-15 7:40 
GeneralRe: How to detect a mouse click outside a focused control Pin
dilkonika10-Feb-15 9:33
dilkonika10-Feb-15 9:33 
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 
I'm using System.Linq.Dynamic I have this code :
VB
Imports System.Linq.Dynamic
.....
Dim mylist As IQueryable(Of Myobject)
Dim ob1 As New List(Of ObjectParameter)
Dim dynstr as string=string.empty

dynstr += "id= @id"
ob1.Add(New ObjectParameter("id", 26))
mylist=context.MyObjects.Where(dynstr,ob1.ToArray()).Tolist

I'm expecting that MyList contain only 1 object with id=26 , but MyList contains all the objects inside MyObjects. So it seems that the Where clause has no effect.

It's strange because if I change the dynstr to :
dynstr+="id=26"

everything works ok. so it seems that the dynstr string "doesn't communicate" with objectParameter list inside the where clause.

What can I do ? Thank you !
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 
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 

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.