Click here to Skip to main content
15,568,859 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: WPF - staggering storyboard executions Pin
gritter28-Nov-09 4:05
gritter28-Nov-09 4:05 
QuestionMDI type of application using WPF Pin
nilam247727-Nov-09 0:37
nilam247727-Nov-09 0:37 
QuestionWPF UserControl Inheritance in VB.NET? Pin
ThisIsJustAPunkRockSong26-Nov-09 0:08
ThisIsJustAPunkRockSong26-Nov-09 0:08 
Questionpolicy issue Pin
Tauseef A25-Nov-09 11:28
Tauseef A25-Nov-09 11:28 
AnswerRe: policy issue Pin
Mark Salsbery25-Nov-09 11:54
Mark Salsbery25-Nov-09 11:54 
QuestionRe: policy issue Pin
Tauseef A25-Nov-09 20:44
Tauseef A25-Nov-09 20:44 
AnswerRe: policy issue Pin
Mark Salsbery25-Nov-09 21:38
Mark Salsbery25-Nov-09 21:38 
QuestionRe: policy issue Pin
Tauseef A26-Nov-09 0:36
Tauseef A26-Nov-09 0:36 
ok , things are working now, but with a little change, the problem is in my method which returns array of type Employee, i came to know i tested it with another method which just returns a string and its working
and the same error still there upon the call of GetEmployeeDataMethod() which returns an array of type employee.

any help please ?



public Silverlight_UI.Service.Employee[] EndGetData(System.IAsyncResult result) {
object[] _args = new object[0];
//error on this line Silverlight_UI.Service.Employee[] _result = ((Silverlight_UI.Service.Employee[])(base.EndInvoke("GetData", _args, result)));
return _result;
}


//my service code

public Employee[] GetData()


{

using (AdventureWorksDataContext dataContext = new AdventureWorksDataContext())
{
DataLoadOptions dlo = new DataLoadOptions();
dlo.LoadWith<employee>(m => m.EmployeeAddresses);
dlo.LoadWith<employee>(m => m.Contact);
dlo.LoadWith<employeeaddress>(m => m.Address);
dataContext.LoadOptions = dlo;

var list = from emp in dataContext.Employees
select emp;

return list.Take(10).ToArray();
}
}

it just give me error when i call any method which calls my locadatabase ,i have created a user for apnet ,
but i dont know what to do?
regards.

Tauseef A Khan
MCP Dotnet framework 2.0.

AnswerRe: policy issue Pin
Tauseef A26-Nov-09 0:44
Tauseef A26-Nov-09 0:44 
GeneralRe: policy issue Pin
Mark Salsbery26-Nov-09 8:50
Mark Salsbery26-Nov-09 8:50 
GeneralRe: policy issue Pin
Tauseef A29-Nov-09 17:48
Tauseef A29-Nov-09 17:48 
QuestionProblem with ScreenSpaceLines3D Pin
Alaajabre25-Nov-09 2:04
Alaajabre25-Nov-09 2:04 
Questionwpf 3d transparency Pin
wpftester25-Nov-09 1:52
wpftester25-Nov-09 1:52 
AnswerRe: wpf 3d transparency Pin
Pete O'Hanlon25-Nov-09 2:47
mvaPete O'Hanlon25-Nov-09 2:47 
QuestionGetting Started - WPF/ WCF/ WWF Pin
Anoop Brijmohun24-Nov-09 23:43
Anoop Brijmohun24-Nov-09 23:43 
AnswerRe: Getting Started - WPF/ WCF/ WWF Pin
Mark Salsbery25-Nov-09 16:55
Mark Salsbery25-Nov-09 16:55 
AnswerRe: Getting Started - WPF/ WCF/ WWF Pin
sisvis26-Nov-09 3:56
sisvis26-Nov-09 3:56 
QuestionWPF Table control Pin
Nekkantidivya24-Nov-09 2:07
Nekkantidivya24-Nov-09 2:07 
AnswerRe: WPF Table control Pin
Mark Salsbery24-Nov-09 7:57
Mark Salsbery24-Nov-09 7:57 
GeneralRe: WPF Table control Pin
Nekkantidivya24-Nov-09 18:00
Nekkantidivya24-Nov-09 18:00 
GeneralRe: WPF Table control Pin
Mark Salsbery24-Nov-09 18:48
Mark Salsbery24-Nov-09 18:48 
QuestionReceiving Messages/Notifications in Silverlight from Stand Alone WF Duplex Service Pin
Topher Clay23-Nov-09 5:56
Topher Clay23-Nov-09 5:56 
QuestionSilverlight Business Application VS Web Application Pin
hussain.attiya22-Nov-09 20:51
hussain.attiya22-Nov-09 20:51 
AnswerRe: Silverlight Business Application VS Web Application Pin
Mark Salsbery23-Nov-09 8:00
Mark Salsbery23-Nov-09 8:00 
GeneralRe: Silverlight Business Application VS Web Application Pin
hussain.attiya23-Nov-09 20:22
hussain.attiya23-Nov-09 20: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.