webservice 我这样写有问题吗
[WebMethod(Description = "接收 Sql 语句返回Dataset")]
public DataSet SelectReturnDataset(string SelectQuery, string TableName)
{
try
{
DataSet ds = MyConn.getDataSetTable(SelectQuery, TableName);
return ds;
}
catch (Exception ex)
{
return DataError(ex);
}
}
我这样写 如果很多人同时访问这个 有问题吗