Example #1
0
    public void getCITDetails(string rowId)
    {
        DataTable dtTransitDetails = DL_Transit.getCITDetails(rowId);

        if (dtTransitDetails != null && dtTransitDetails.Rows.Count > 0)
        {
            this.RowId = dtTransitDetails.Rows[0]["ConfirmationNumber"].ToString();
            //this.
            this.Caller             = dtTransitDetails.Rows[0]["CallerName"].ToString();
            this.Account            = dtTransitDetails.Rows[0]["Account"].ToString();
            this.Lab                = dtTransitDetails.Rows[0]["LabLocation"].ToString();
            this.LabID              = dtTransitDetails.Rows[0]["LabID"].ToString();
            this.RequestedDate      = dtTransitDetails.Rows[0]["RequestDate"].ToString();
            this.RequestedTime      = dtTransitDetails.Rows[0]["RequestTime"].ToString();
            this.SpecialInstruction = dtTransitDetails.Rows[0]["SpecialInstructions"].ToString().Replace("|", "\n").Replace(";", "\n");
            this.EnteredByUser      = dtTransitDetails.Rows[0]["UserValue"].ToString();
            this.Email              = dtTransitDetails.Rows[0]["Email"].ToString();
            this.RequestType        = dtTransitDetails.Rows[0]["RequestType"].ToString();
            this.OnwerName          = "";
            this.PetName            = "";
            this.Tests              = dtTransitDetails.Rows[0]["Tests"].ToString().Replace("|", "\n\r").Replace(";", "\n\r");
        }
        else
        {
            this.isInvalidTransitNo = true;
        }
    }
Example #2
0
 public static DataTable getTransitRecords(string strAccountNo, string strConfNo, string strFromDate, string strToDate)
 {
     return(DL_Transit.getTransitRecords(strAccountNo, strConfNo, strFromDate, strToDate));
 }