i am trying to save update ,delete, and insert on datagridview using services of a wcf
private void SaveAll_Click(object sender, EventArgs e)
{
ServiceReferenceExemplaires.ServiceExemplairesClient se=new ServiceReferenceExemplaires.ServiceExemplairesClient();
DataView oView = (DataView)gridData.DataSource;
se.saveAll(oView);
}
the error is coming from se.saveAll(oView) at the parameter i think the problem is with wcf ,because without exposing the services it's fine
ServiceExemplaires se = new ServiceExemplaires();
DataView oView = (DataView)gridData.DataSource;
se.saveAll(oView);
but the idea was to use wcf to access the service from another machine
Can you be more specific? Does the saveAll function not accept the DataView?
If that is the case, try putting it like: