よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public static List <NPAStatus> NPA_Details_Status(int?EXID, int?Bank, int?CityID, string FDATE, string TDATE) { try { DataSet Dt = CRBusinessLogicLayer.NPA_Details_Status(EXID, Bank, CityID, FDATE, TDATE); List <NPAStatus> NPAList = new List <NPAStatus>(); foreach (DataRow DR in Dt.Tables[0].Rows) { NPAStatus NPA = new NPAStatus(); NPA.TOTAL = Convert.ToInt32(DR["TOTAL"].ToString()); NPA.OPEN = Convert.ToInt32(DR["OPEN"].ToString()); NPA.CLOSE = Convert.ToInt32(DR["CLOSE"].ToString()); NPAList.Add(NPA); } return(NPAList); } catch (Exception) { return(null); // ignored } }