我有这个,但DataSet不会填写
[WebMethod(Description = "")]
public DataSet OracleDataset()
{
OracleConnection conn = new OracleConnection("Provider=OraOLEDB.Oracle;Data Source=razvoj;User Id=kr;Password=kr;");
OracleDataAdapter adapter = new OracleDataAdapter("SELECT * FROM FBARZN", conn);
DataSet ds = new DataSet();
adapter.Fill(ds);
return ds;
}
怎么办?任何解决方案?
谢谢!