TableRow row = new TableRow();
TableCell C1 = new TableCell();
TableCell C2 = new TableCell();
TableCell C3 = new TableCell();
TableCell C4 = new TableCell();
TableCell C5 = new TableCell();
TableCell C6 = new TableCell();
C1.Attributes.Add("valign", "top");
C1.Attributes.Add("align", "center");
C1.Text = Convert.ToString(i + 1);
C2.Attributes.Add("valign", "top");
C2.Attributes.Add("align", "left");
C2.Text = Convert.ToString(dsPatinetInfo.Tables[0].Rows[i]["ModalityName"]);
C3.Attributes.Add("valign", "top");
C3.Attributes.Add("align", "left");
C3.Text = Convert.ToString(dsPatinetInfo.Tables[0].Rows[i]["BillingName"]);
C4.Attributes.Add("valign", "top");
C4.Attributes.Add("align", "left");
C4.Font.Name = "3 of 9 Barcode";
C4.Attributes.Add("style", "font-size: 16px;");
C4.Text = Convert.ToString(dsPatinetInfo.Tables[0].Rows[i]["AccessionNumber"]);
C5.Attributes.Add("valign", "top");
C5.Attributes.Add("align", "left");
C6.Attributes.Add("valign", "top");
C6.Attributes.Add("align", "left");
row.Cells.Add(C1);
row.Cells.Add(C2);
row.Cells.Add(C3);
row.Cells.Add(C4);
row.Cells.Add(C5);
row.Cells.Add(C6);
StudyTable.Rows.Add(row);
No comments:
Post a Comment