M
Moe Sisko
Using dotnet : 2.0.50727.1433
To reproduce problem :
On server side :
==
[WebMethod]
public void SendDataSetArray(DataSet[] ds)
{
string str = "ds[0] is null ? : " + (ds[0] == null).ToString(); //
XXX
}
==
On client side, call webmethod like this :
==
DataSet[] ds = new DataSet[1];
ds[0] = null;
ws.SendDataSetArray(ds);
==
where : ws is an instance of the web proxy object.
So, on server side, I expected to see a DataSet array with one element,
where that element contains null.
However, I'm seeing a DataSet array with one element, where that element is
an empty DataSet (non-null !) which contains zero DataTables.
i.e. str at line XXX gets set to : "ds[0] is null ? : False"
Does this look like a bug, or am I missing something ?
TIA
To reproduce problem :
On server side :
==
[WebMethod]
public void SendDataSetArray(DataSet[] ds)
{
string str = "ds[0] is null ? : " + (ds[0] == null).ToString(); //
XXX
}
==
On client side, call webmethod like this :
==
DataSet[] ds = new DataSet[1];
ds[0] = null;
ws.SendDataSetArray(ds);
==
where : ws is an instance of the web proxy object.
So, on server side, I expected to see a DataSet array with one element,
where that element contains null.
However, I'm seeing a DataSet array with one element, where that element is
an empty DataSet (non-null !) which contains zero DataTables.
i.e. str at line XXX gets set to : "ds[0] is null ? : False"
Does this look like a bug, or am I missing something ?
TIA