Printing a C# datagridview and so far I have been able to print out the column names but I can't get the information underneath to show up. I'm not using anysource for the data just letting the user input it into a grid like format.
for
{
w = dgv.Columns[i].Width;
w = x + dgv.Width - xPos;
mp.DrawString(caption, printFont, _Brush, xPos, yPos, w, h);
mp.DrawLines(_Pen, x, yPos + h, x + dgv.Width, yPos + h);
xPos += w;
}