Click here to Skip to main content
15,890,527 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Slow WPF performance. Please Help Pin
Etienne_1235-Aug-09 2:32
Etienne_1235-Aug-09 2:32 
QuestionLINQ Pin
sunil.n.cs4-Aug-09 0:44
sunil.n.cs4-Aug-09 0:44 
AnswerRe: LINQ Pin
Michael Sync4-Aug-09 1:27
Michael Sync4-Aug-09 1:27 
GeneralRe: LINQ Pin
sunil.n.cs4-Aug-09 2:32
sunil.n.cs4-Aug-09 2:32 
GeneralRe: LINQ Pin
Michael Sync4-Aug-09 4:24
Michael Sync4-Aug-09 4:24 
GeneralRe: LINQ Pin
sunil.n.cs4-Aug-09 18:09
sunil.n.cs4-Aug-09 18:09 
AnswerRe: LINQ Pin
Pete O'Hanlon4-Aug-09 22:05
mvePete O'Hanlon4-Aug-09 22:05 
GeneralRe: LINQ Pin
sunil.n.cs4-Aug-09 22:52
sunil.n.cs4-Aug-09 22:52 
First of all i would like to thank u guys for the support u have been providing. Now as i mentioned in my last reply i am using deferred execution i.e :Return matchingLogin.ToList()...this will work fine for the query

Dim matchingLogin = From Login In db.tbl_Users Where Login.UserName.StartsWith(strLogin) _
Select Login
Return matchingLogin.ToList()

But when i use column names in select like this one

Dim matchingLogin = From Login In db.tbl_Users Where Login.UserName.StartsWith(strLogin) _
Select Login.UserName, Login.Password
Return matchingLogin.ToList()

it gives me a error in blue underline for matchingLogin.ToList() and when i move the mouse on top it, it says

Value of type 'System.Collections.Generic.List(Of )' cannot be converted to 'System.Collections.Generic.List(Of E_Learning.Web.tbl_User)'.

So to remove this error i have removed .Tolist() from Return
GeneralRe: LINQ Pin
Pete O'Hanlon4-Aug-09 23:50
mvePete O'Hanlon4-Aug-09 23:50 
GeneralRe: LINQ Pin
sunil.n.cs5-Aug-09 1:00
sunil.n.cs5-Aug-09 1:00 
GeneralRe: LINQ Pin
Pete O'Hanlon5-Aug-09 1:28
mvePete O'Hanlon5-Aug-09 1:28 
GeneralRe: LINQ Pin
sunil.n.cs5-Aug-09 1:50
sunil.n.cs5-Aug-09 1:50 
GeneralRe: LINQ Pin
Pete O'Hanlon5-Aug-09 2:13
mvePete O'Hanlon5-Aug-09 2:13 
GeneralRe: LINQ Pin
sunil.n.cs5-Aug-09 3:11
sunil.n.cs5-Aug-09 3:11 
QuestionHow can I set my dynamic images in random position? Pin
Kunal Chowdhury «IN»3-Aug-09 21:13
professionalKunal Chowdhury «IN»3-Aug-09 21:13 
AnswerRe: How can I set my dynamic images in random position? Pin
Christian Graus3-Aug-09 22:47
protectorChristian Graus3-Aug-09 22:47 
QuestionHow i can add new buttons to my epander control Pin
wasimsharp3-Aug-09 20:40
wasimsharp3-Aug-09 20:40 
AnswerRe: How i can add new buttons to my epander control Pin
Super Lloyd4-Aug-09 0:47
Super Lloyd4-Aug-09 0:47 
GeneralRe: How i can add new buttons to my epander control Pin
wasimsharp4-Aug-09 1:27
wasimsharp4-Aug-09 1:27 
GeneralRe: How i can add new buttons to my epander control Pin
Super Lloyd4-Aug-09 1:40
Super Lloyd4-Aug-09 1:40 
AnswerRe: How i can add new buttons to my epander control Pin
wasimsharp4-Aug-09 1:56
wasimsharp4-Aug-09 1:56 
QuestionCustom classes in XAML - Assign properties after parents set Pin
Ian Shlasko3-Aug-09 4:15
Ian Shlasko3-Aug-09 4:15 
AnswerRe: Custom classes in XAML - Assign properties after parents set Pin
Super Lloyd4-Aug-09 3:14
Super Lloyd4-Aug-09 3:14 
GeneralRe: Custom classes in XAML - Assign properties after parents set Pin
Ian Shlasko4-Aug-09 12:14
Ian Shlasko4-Aug-09 12:14 
GeneralRe: Custom classes in XAML - Assign properties after parents set Pin
Super Lloyd4-Aug-09 13:06
Super Lloyd4-Aug-09 13:06 

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.