110,915
社区成员
发帖
与我相关
我的任务
分享
public System.Data.DataSet GetAllCfxmflyjInfo(string id)
{
System.Data.DataSet functionReturnValue = null;
functionReturnValue = null;
string strSql = "";
strSql = "select FLFG";
strSql = strSql + " from 事项 where ID=" + id;
DataSet datCfxmDatSet = new DataSet();
OracleDataAdapter da;
OracleConnection oraConn = new OracleConnection(s_MapgisConn);
try {
oraConn.Open();
da = new OracleDataAdapter(strSql, oraConn);
da.Fill(datCfxmDatSet, "行政处罚事项");
functionReturnValue = datCfxmDatSet;
return functionReturnValue; //here return
}
catch (Exception ex) {
functionReturnValue = null;
}
finally {
oraConn.Close();
datCfxmDatSet = null;
da = null;
oraConn = null;
}
}