yesterday i encryption access db with password ex : 1010
then I try to printing my report but getting message log on failed..
please help me..
Code:
 
lP1.SetDatabaseLogon("admin", "1010")
lP1.SetParameterValue("Startdate", DPstart.Text)
lP1.SetParameterValue("Enddate", DPend.Text)

CRView1.ReportSource = lP1
CRView1.Show()