Hi I'm new to .NET technology and learning ASP.NET using C# database connectivity and I'm getting the error(PLS HELP):
Could not find installable ISAM.
in the following code:
using System.Data.OleDb;

public System.Data.OleDb.OleDbConnection conn;
public System.Data.OleDb.OleDbDataAdapter adapt;
DataSet ds;
ds=new DataSet();
conn=new OleDbConnection("Provider=MicroSoft.Jet.OLEDB.4.0;Datasource=C:\\Inetpub\\wwwroot\\pracs\\emp1.mdb");
conn.Open();
adapt=new OleDbDataAdapter("select * from emp",conn);
adapt.Fill(ds,"emp");
DataGrid1.DataSource = ds.Tables["emp1"];
DataGrid1.DataBind();

Recommended Answers

All 2 Replies

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.