Hi I use itextsharp to create pdf
iTextSharp.text.Font font5 = iTextSharp.text.FontFactory.GetFont(FontFactory.HELVETICA, 8);
for (int i = 0; i < dt.Rows.Count; i++)
{
for (int j = 0; j < dt.Columns.Count; j++)
{
table.AddCell(new Phrase(dt.Rows[i][j].ToString(), font5));
}
}
by doing this it print table. But cant able to draw the border at bottom.
middle rows are getting border expect last row.
Go to the complete details ...