public DataTable QueryDetlByID(string MainID) { try { DBO.MaintainChanReturnData db = new MaintainChanReturnData(ref USEDB); return db.QueryDetlByID(MainID); } catch (Exception ex) { throw ex; } }