连续调用webservice 同一个方法出错
连续调用 webservice 的同一个方法会出现这样的错误

webservice代码:
[WebMethod]
public DataSet GetNewsByCid(string cid, int amount)
{
string sql = "";
if (GetNewsAmountByCid(cid) > amount)
{
sql = "select top " + amount + " * from news where (classid = " + cid + ")";
}
else
{
sql = "select * from news where (classid = " + cid + ")";
}
DataSet ds = database.GetDs(sql);
return ds;
}
[解决办法]
后面一个放在前一个的回调函数里面来调用。
[解决办法]
没有webservice实战经验的人飘过