I am using VB express 2008 with MSAccess as Database.
I have a table DailyExpenses in MsAccess with four columns of which one is ColumnPaid having checkboxes.
I used following query to display records of DailyExpenses in Listview:
Dim cmd As New OleDb.OleDbCommand("Select * FROM DailyExpenses "...
Finally the following amendment in my original code solved my problem:
If (currentY + 60) < e.PageBounds.Height Then
e.Graphics.DrawString("Net Amount : ", headfont, Brushes.Black, X1 + 80, currentY)
e.Graphics.DrawString("Paid Amount: ", headfont, Brushes.Black, X1...
I am using following code for printing Listview records in vb express 2008.
#Region "Print related declarations"
Protected WithEvents pd As Printing.PrintDocument 'used by Print sub
Protected Ratio As Single = 0, CurrRow As Integer = 0
#End Region
#Region "Simple Printing of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.