Hi all
I have posted in .net cf but not had any joy
Maybe you can help
I have been trying to adapt the code on this page
http://support.microsoft.com/kb/310143 to work on windows mobile 5.
web application fine of course.
Load event i have changed to this
localhost.Service1 MyService = new localhost.Service1();
dataGrid1.DataSource = MyService.GetCustomers().Tables
["client"];
that work fine loads the data grid.
I have work out how to change the data in the datagrid
Problem comes when saving it back to the service
localhost.Service1 MyService = new localhost.Service1();
EXCEPTION ERROR at this line DataSet ds =
(DataSet)dataGrid1.DataSource;
DataSet
dsChanges = ds.GetChanges();
if
(dsChanges != null)
{
ds.Merge(MyService.UpdateCustomers(dsChanges),
true);
}
I think it has somthing to do with the databinding but after a couple of
evenings I now dont know where to look
any help would be apprecitated.
Thanks in advance
Roger