Hi Mudassar,
is there any other way to add title on each page ?
and in printing code you have specified about the page breaks after spcified number of records.
so I want 25 records on each page but it comes 26 on first page then 25 comes on all pages. so what is the problem in that ?
For Each row As GridViewRow In grdCommision.Rows
If row.RowIndex Mod 25 = 0 And row.RowIndex <> 0 Then
row.Attributes("style") = "page-break-after:always;"
End If
Next