Click here to Skip to main content
15,895,799 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: WPF - staggering storyboard executions Pin
gritter28-Nov-09 3:05
gritter28-Nov-09 3:05 
QuestionMDI type of application using WPF Pin
nilam247726-Nov-09 23:37
nilam247726-Nov-09 23:37 
QuestionWPF UserControl Inheritance in VB.NET? Pin
ThisIsJustAPunkRockSong25-Nov-09 23:08
ThisIsJustAPunkRockSong25-Nov-09 23:08 
Questionpolicy issue Pin
Tauseef A25-Nov-09 10:28
Tauseef A25-Nov-09 10:28 
AnswerRe: policy issue Pin
Mark Salsbery25-Nov-09 10:54
Mark Salsbery25-Nov-09 10:54 
QuestionRe: policy issue Pin
Tauseef A25-Nov-09 19:44
Tauseef A25-Nov-09 19:44 
AnswerRe: policy issue Pin
Mark Salsbery25-Nov-09 20:38
Mark Salsbery25-Nov-09 20:38 
QuestionRe: policy issue Pin
Tauseef A25-Nov-09 23:36
Tauseef A25-Nov-09 23: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 A25-Nov-09 23:44
Tauseef A25-Nov-09 23:44 
GeneralRe: policy issue Pin
Mark Salsbery26-Nov-09 7:50
Mark Salsbery26-Nov-09 7:50 
GeneralRe: policy issue Pin
Tauseef A29-Nov-09 16:48
Tauseef A29-Nov-09 16:48 
QuestionProblem with ScreenSpaceLines3D Pin
Alaajabre25-Nov-09 1:04
Alaajabre25-Nov-09 1:04 
Questionwpf 3d transparency Pin
wpftester25-Nov-09 0:52
wpftester25-Nov-09 0:52 
AnswerRe: wpf 3d transparency Pin
Pete O'Hanlon25-Nov-09 1:47
mvePete O'Hanlon25-Nov-09 1:47 
QuestionGetting Started - WPF/ WCF/ WWF Pin
Anoop Brijmohun24-Nov-09 22:43
Anoop Brijmohun24-Nov-09 22:43 
AnswerRe: Getting Started - WPF/ WCF/ WWF Pin
Mark Salsbery25-Nov-09 15:55
Mark Salsbery25-Nov-09 15:55 
AnswerRe: Getting Started - WPF/ WCF/ WWF Pin
sisvis26-Nov-09 2:56
sisvis26-Nov-09 2:56 
QuestionWPF Table control Pin
Nekkantidivya24-Nov-09 1:07
Nekkantidivya24-Nov-09 1:07 
AnswerRe: WPF Table control Pin
Mark Salsbery24-Nov-09 6:57
Mark Salsbery24-Nov-09 6:57 
GeneralRe: WPF Table control Pin
Nekkantidivya24-Nov-09 17:00
Nekkantidivya24-Nov-09 17:00 
GeneralRe: WPF Table control Pin
Mark Salsbery24-Nov-09 17:48
Mark Salsbery24-Nov-09 17:48 
QuestionReceiving Messages/Notifications in Silverlight from Stand Alone WF Duplex Service Pin
Topher Clay23-Nov-09 4:56
Topher Clay23-Nov-09 4:56 
QuestionSilverlight Business Application VS Web Application Pin
hussain.attiya22-Nov-09 19:51
hussain.attiya22-Nov-09 19:51 
AnswerRe: Silverlight Business Application VS Web Application Pin
Mark Salsbery23-Nov-09 7:00
Mark Salsbery23-Nov-09 7:00 
GeneralRe: Silverlight Business Application VS Web Application Pin
hussain.attiya23-Nov-09 19:22
hussain.attiya23-Nov-09 19: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.