Click here to Skip to main content
15,914,419 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: How get & set pixel in WPFapplication? Pin
John Schroedl20-Mar-11 9:55
professionalJohn Schroedl20-Mar-11 9:55 
Questionsorting autocompletebox items (wpf toolkit) Pin
Moonwalker03115-Mar-11 22:35
Moonwalker03115-Mar-11 22:35 
AnswerRe: sorting autocompletebox items (wpf toolkit) Pin
Mycroft Holmes15-Mar-11 23:18
professionalMycroft Holmes15-Mar-11 23:18 
GeneralRe: sorting autocompletebox items (wpf toolkit) Pin
Moonwalker03116-Mar-11 0:50
Moonwalker03116-Mar-11 0:50 
GeneralRe: sorting autocompletebox items (wpf toolkit) Pin
Mycroft Holmes16-Mar-11 1:13
professionalMycroft Holmes16-Mar-11 1:13 
GeneralRe: sorting autocompletebox items (wpf toolkit) Pin
Moonwalker03116-Mar-11 2:05
Moonwalker03116-Mar-11 2:05 
AnswerRe: sorting autocompletebox items (wpf toolkit) Pin
Pete O'Hanlon16-Mar-11 2:25
mvePete O'Hanlon16-Mar-11 2:25 
GeneralRe: sorting autocompletebox items (wpf toolkit) Pin
Moonwalker03116-Mar-11 3:35
Moonwalker03116-Mar-11 3:35 
Question"Status Bar" Text in IE Pin
souravghosh1814-Mar-11 21:20
souravghosh1814-Mar-11 21:20 
AnswerRe: "Status Bar" Text in IE Pin
Abhinav S14-Mar-11 21:51
Abhinav S14-Mar-11 21:51 
GeneralRe: "Status Bar" Text in IE Pin
souravghosh1814-Mar-11 22:02
souravghosh1814-Mar-11 22:02 
GeneralRe: "Status Bar" Text in IE [modified] Pin
Abhinav S15-Mar-11 0:23
Abhinav S15-Mar-11 0:23 
GeneralRe: "Status Bar" Text in IE Pin
Pete O'Hanlon15-Mar-11 1:43
mvePete O'Hanlon15-Mar-11 1:43 
GeneralRe: "Status Bar" Text in IE Pin
Abhinav S15-Mar-11 2:06
Abhinav S15-Mar-11 2:06 
GeneralRe: "Status Bar" Text in IE Pin
Pete O'Hanlon15-Mar-11 2:59
mvePete O'Hanlon15-Mar-11 2:59 
QuestionUse LinQ in silverlight Pin
langtu14614-Mar-11 18:43
langtu14614-Mar-11 18:43 
AnswerRe: Use LinQ in silverlight Pin
Abhinav S14-Mar-11 19:01
Abhinav S14-Mar-11 19:01 
AnswerRe: Use LinQ in silverlight Pin
Pete O'Hanlon14-Mar-11 21:11
mvePete O'Hanlon14-Mar-11 21:11 
GeneralRe: Use LinQ in silverlight Pin
Mycroft Holmes15-Mar-11 0:42
professionalMycroft Holmes15-Mar-11 0:42 
GeneralRe: Use LinQ in silverlight Pin
Pete O'Hanlon15-Mar-11 1:42
mvePete O'Hanlon15-Mar-11 1:42 
GeneralRe: Use LinQ in silverlight Pin
Jammer15-Mar-11 3:33
Jammer15-Mar-11 3:33 
GeneralRe: Use LinQ in silverlight Pin
Mycroft Holmes15-Mar-11 12:26
professionalMycroft Holmes15-Mar-11 12:26 
QuestionProblem with executing LINQuery from xmal page Pin
yrishi13-Mar-11 20:19
yrishi13-Mar-11 20:19 
Dear All,

I am using SilverLight 4 with Asp.Net 4.0

I am using edmx file in that I have put my required table which have relation in between.
To access these table in MYPage.xaml, I have create service using bellow code

//------------------------------------------------------------------------
public static void InitializeService(DataServiceConfiguration config)
{
// TODO: set rules to indicate which entity sets and service operations are visible, updatable, etc.
// Examples:
config.SetEntitySetAccessRule("Resource_MT", EntitySetRights.All);
config.SetEntitySetAccessRule("ProjectResourceAllocations", EntitySetRights.All);
// config.SetServiceOperationAccessRule("MyServiceOperation", ServiceOperationRights.All);
config.DataServiceBehavior.MaxProtocolVersion = DataServiceProtocolVersion.V2;
}
//------------------------------------------------------------------------

After that I have create Service Reference.

After this I have create My linq join query.
after this, I want to execute this query.
I am able to execute single table query like
//---------------------------------------------------------------------------------
var dsQueryResource = (DataServiceQuery<ServiceReference2.Resource_MT>)queryResource;
dsQueryResource.BeginExecute(OnResourcesQueryComplete, queryResource);
//---------------------------------------------------------------------------------

But as i have two table which is 1)Resource_MT 2)ProjectResourceAllocations
How can I do this??
As I am very new in Silverlight. Please Help me on this.

For your information here is my LINQ join query
//---------------------------------------------
var queryResource = from p in svcContext2.ProjectResourceAllocations
join r in svcContext2.Resource_MT on p.ResourceID equals r.ResourceID
where p.ProjectID == UserSelectedProjectID
select r.FirstName;
//---------------------------------------------

Waiting for your reply.
QuestionMicrosoft Ribbon Icons Pin
boggs12-Mar-11 9:16
boggs12-Mar-11 9:16 
AnswerRe: Microsoft Ribbon Icons Pin
Abhinav S13-Mar-11 19:10
Abhinav S13-Mar-11 19:10 

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.