-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: kushi
Message 1 in Discussion

Hi   I tried to connect to MS-Assess database from VB.NET (web application)  using  
"Microsoft.Jet.OLEDB.4.0" but its giving error :::   "cannot find the installable 
ISAM"   I searched most of the web forumes to fix this problem, but did'nt got 
fruitfull results. I am using Microsoft Access 2000. The dll file  "msjet40.dll" is 
exists in my system.    If anybody worked on this, please give me some hints....   
Below is the extract from the code i written..... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  
OleDbConnection con; 
OleDbDataReader rdr;  
//con = new OleDbConnection ("Provider=Microsoft.Jet.OLEDB.4.0; Data Sorce=" + 
Server.MapPath ("mdb/mdbTest.mdb"));  
con = new OleDbConnection ("Provider=Microsoft.Jet.OLEDB.4.0; Data Sorce=" + 
Server.MapPath ("mdb/mdbTest.mdb") + ";Jet OLEDB:Database;Security Info=True"); 
con.Open(); 
OleDbCommand myCmd = new OleDbCommand ("SELECT * FROM books", con); 
rdr = myCmd.ExecuteReader(); 
DataGrid1.DataSource = rdr; 
DataGrid1.DataBind();

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to