A
Alfonso
The next code works fine in the emulator but in the ipaq
3700 with pocket pc 2002 doesn't.
Its a button that make a call to a web service.
The error is:
System.LoadTypeException
Thank you
private void button1_Click(object sender, System.EventArgs
e)
{
carlosj.IWSCRservice ws = new carlosj.IWSCRservice();
XmlDocument dd = new XmlDocument();
if (radioButton1.Checked == true) dd.LoadXml
(ws.ActualizarClientes("8"));
if (radioButton2.Checked == true) dd.LoadXml
(ws.ActualizarArticulos("DEMO","8","1","11"));
if (radioButton3.Checked == true) dd.LoadXml
(ws.ActualizarConceptos ("DEMO","8"));
textBox1.Text = dd.InnerXml.ToString();
XmlNodeReader reader = new XmlNodeReader(dd);
DataSet ds = new DataSet();
ds.ReadXml(reader);
reader.Close();
dataGrid1.DataSource = ds.Tables[0].DefaultView;
dataGrid1.DataBindings.Add("",ds,ds.Tables[0].TableName);
}
3700 with pocket pc 2002 doesn't.
Its a button that make a call to a web service.
The error is:
System.LoadTypeException
Thank you
private void button1_Click(object sender, System.EventArgs
e)
{
carlosj.IWSCRservice ws = new carlosj.IWSCRservice();
XmlDocument dd = new XmlDocument();
if (radioButton1.Checked == true) dd.LoadXml
(ws.ActualizarClientes("8"));
if (radioButton2.Checked == true) dd.LoadXml
(ws.ActualizarArticulos("DEMO","8","1","11"));
if (radioButton3.Checked == true) dd.LoadXml
(ws.ActualizarConceptos ("DEMO","8"));
textBox1.Text = dd.InnerXml.ToString();
XmlNodeReader reader = new XmlNodeReader(dd);
DataSet ds = new DataSet();
ds.ReadXml(reader);
reader.Close();
dataGrid1.DataSource = ds.Tables[0].DefaultView;
dataGrid1.DataBindings.Add("",ds,ds.Tables[0].TableName);
}