public long m_lngGetHistory(string startDate, string endDate, string checkMan, out DataTable dt) { System.Security.Principal.IPrincipal p_objPrincipal = null; com.digitalwave.iCare.middletier.HIS.clsRegisterSvc objSvc = (com.digitalwave.iCare.middletier.HIS.clsRegisterSvc)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.iCare.middletier.HIS.clsRegisterSvc)); long LngArg = objSvc.m_lngGetHistorRegister(p_objPrincipal, startDate, endDate, checkMan, out dt); objSvc.Dispose(); objSvc = null; return(LngArg); }