how return DataTable
i need a method that return DataTable,but can not return.the method like under:
[WebMethod]
public DataTable GetDt()
{
DataTable dt = new DataTable();
return dt;
}
error message means can not Serializable
thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
sacrespPosted Mar 5, 2004, 6:26 AM
it_farooqPosted Mar 5, 2004, 5:57 AM