我怎么能在这里使用 try catch 函数?
public DataTable BindRole()
{
Database _database = DatabaseFactory.CreateDatabase();
DbCommand dbCommand = _database.GetSqlStringCommand(QMROLE.FetchData);
DataSet _ds = _database.ExecuteDataSet(dbCommand);
return _ds.Tables[0];
}
谢谢。