Print Page | Close Window

check my code

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=2708
Printed Date: 17-Apr-2026 at 11:05am


Topic: check my code
Posted By: rosmena
Subject: check my code
Date Posted: 23-May-2011 at 8:06pm
I have been following your tour of DevForce Silverlight,  in Part 4(Fix UI Problem) since their is no sample in VB, i converted your C# code to vb;
 

mQuery.ExecuteAsync(Sub(op) op.Results.ForEach(Sub(Emps) Employees.Add(Emps)))

CurrEmployee = Employees.FirstOrDefault()

RaisePropertyChanged("CurrEmployee")

the result is it doesn't go the the first record, you have to press the next button, in order to go the next record.



Replies:
Posted By: robertg
Date Posted: 24-May-2011 at 2:33pm
Rosmena,
 
All of the "Tour of Silverlight" solutions are available on the DRC for both C# and VB. Are you seeing the same problem if you try the VB version, rather than running the C# version through a converter?
 
-- Robert



Print Page | Close Window