예제 #1
0
        public void dataBind(int claimID)
        {
            gvComments.DataSource = ClaimCommentManager.GetAll(claimID);
            gvComments.DataBind();

            bindHistoricalComments();
        }
예제 #2
0
        static protected void exportClaimLog(int claimID, string claimNumber)
        {
            List <ClaimCommented> claimComments = ClaimCommentManager.GetAll(claimID);

            if (claimComments == null || claimComments.Count == 0)
            {
                return;
            }

            // create table 2 cells
            PdfPTable ptable = new PdfPTable(new float[] { 20, 80 });

            ptable.WidthPercentage = 90;


            addClaimComments(ptable, claimComments, claimNumber);


            doc.Add(ptable);
        }