p450
I have tried the example, and it doesn't seem to work (tried the C# one, but the
VB one appears to be identical)
As printed:
public void CBMethod(SQLAsynchResult ar)
{
SqlDataReader OrdersReader;
OrdersReader = ar.EndExecuteReader(ar);
gvOrders.DataSource = OrdersReader;
gvOrders.DataBind();
}
1 - VS2005 doesn't know "SQLAsynchResult"; is this "IAsyncResult"?
2 - With Option Strict in place, I can't run "OrdersReader = ar.EndExecuteReader(ar);" - it claims that I can't do this implicit conversion...I've tried to sort this out but haven't succeeded.
Anyone know what to do here?
Thanks
Griff
I can't find "SQLAsynchResult"; should it be "IAsyncResult"?