public bool DeleteTDocketPrintingDetails(TDocketPrintingDetails tdocketprintingdetails)
        {
            SqlCommand cmd;

            cmd             = new SqlCommand();
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = "DeleteTDocketPrintingDetails";

            cmd.Parameters.AddWithValue("@PkSrNo", tdocketprintingdetails.PkSrNo);

            commandcollection.Add(cmd);

            return(true);
        }
        public bool AddTDocketPrintingDetails(TDocketPrintingDetails tdocketprintingdetails)
        {
            SqlCommand cmd;

            cmd             = new SqlCommand();
            cmd.CommandType = CommandType.StoredProcedure;
            cmd.CommandText = "AddTDocketPrintingDetails";

            cmd.Parameters.AddWithValue("@PkSrNo", tdocketprintingdetails.PkSrNo);

            // cmd.Parameters.AddWithValue("@DocketPrintingNo", tdocketprintingdetails.DocketPrintingNo);

            cmd.Parameters.AddWithValue("@FkVoucherNo", tdocketprintingdetails.FkVoucherNo);

            cmd.Parameters.AddWithValue("@Remark", tdocketprintingdetails.Remark);

            cmd.Parameters.AddWithValue("@CompanyNo", tdocketprintingdetails.CompanyNo);

            commandcollection.Add(cmd);

            return(true);
        }