hi friends
i have to pass list as arguement to WCF
my code:
public string sendData(String details)
{
ListStudents=new List();
Students.Add("Name1");
Students.Add("Name2");
return insert(Students); ///error in this part show cannot poss list as arguement
}
my WCF service is
public string insert(List details)
{
..........
............
}

Khan Abrar AhmedPosted Jun 27, 2014, 6:21 AM
for that please perform that step.
1. create a rest services.
2. add the service refrence in your code.
3. call the service method .
ex:
in interface class
and wcf service
after that add the service refrence and call the method.