Vbnet+billing+software+source+code
While this article provides the complete logic, I recommend you type every line yourself to understand the flow. Only by debugging will you master billing software architecture.
For Each line As String In lines e.Graphics.DrawString(line, font, Brushes.Black, leftMargin, yPos) yPos += font.GetHeight(e.Graphics) Next vbnet+billing+software+source+code
For Each row As DataRow In dtDetails.Rows e.Graphics.DrawString(row("ProductName").ToString(), fontBody, Brushes.Black, leftMargin, yPos) e.Graphics.DrawString(row("Quantity").ToString(), fontBody, Brushes.Black, leftMargin + 200, yPos) e.Graphics.DrawString(row("Rate").ToString(), fontBody, Brushes.Black, leftMargin + 300, yPos) e.Graphics.DrawString(row("TaxableValue").ToString(), fontBody, Brushes.Black, leftMargin + 400, yPos) yPos += 20 Next While this article provides the complete logic, I
