how can I use a function in WCF which will return dataset or ArrayList
-
hi, In my code i am using Dataset as return type for Operation Contract. its like [OperationContract] Dataset FetchEmployeeDetails(); But after running my WCF in WCF Test Client it is coming like "This Operation is not supported in WCF" Can any one guide me how can I use a function in WCF which will return dataset or ArrayList......... Thanks & Regards, Alim
-
hi, In my code i am using Dataset as return type for Operation Contract. its like [OperationContract] Dataset FetchEmployeeDetails(); But after running my WCF in WCF Test Client it is coming like "This Operation is not supported in WCF" Can any one guide me how can I use a function in WCF which will return dataset or ArrayList......... Thanks & Regards, Alim
Alim12345 wrote:
after running my WCF in WCF Test Client it is coming like "This Operation is not supported in WCF"
Not supported in WCF or not supported in the test client? I would make a real client app and see if it works from there... Mark
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
Alim12345 wrote:
after running my WCF in WCF Test Client it is coming like "This Operation is not supported in WCF"
Not supported in WCF or not supported in the test client? I would make a real client app and see if it works from there... Mark
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
give a sample usage of the list you have used to achieve this.........
-
give a sample usage of the list you have used to achieve this.........
Inteface: [OperationContract] List FetchDetails(); Implemenation in Service... public List FetchDetails() { List Emplist = db.Spr_GetEmployerDetails().ToList(); //List l=new List(); return Emplist; } Accessing in UI: wdgdView.DataSource = LTS.FetchDetails();