I am having a small problem with dataset

problem defination is:
_____________________________________________________________

System.Data.OleDb.OleDbException was unhandled
ErrorCode=-2147217843
Message="Not a valid password."
Source="Microsoft JET Database Engine"
________________________________________________________________

and
My connecting string is:

_______________________________________________________________________________
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source="D:\Shop Inventory\database\DATABASE.mdb";Persist Security Info=True;Jet OLEDB:Database Password=123456789"
________________________________________________________________________________

WHERE the password I added is right

but whenever I try to access is it shows error of Invalid Password;

I have coded it as:
_______________________________________________________________________

'Me.SaleTableAdapter.Fill(Me.DATABASEDataSet.Sale)
Me.ReportViewer1.RefreshReport()

_________________________________________________________________________

Plez plez plezzzzzz
reply me fastttttttttttt :((

Recommended Answers

All 2 Replies

Hi,

Connection strings seems right. Check the password of db again. May be any typo errors.

for more connection strings this link may help you.


Thank you.

hiiii
sir send me plz access proper connaction and datagrid view display vb.net 2005 ver, so kindly give me this code plzzzzzzzzz so plzzzzzzzz
thakx full you this code give me an this time so soon as soon give the code

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.