עבור לתוכן

יש לי בעיה עם הקובץ ADO ב- C#

Featured Replies

פורסם

יש לי את הקוד הבא:

public ADO(string TableName)

{

this.TableName = TableName;

connectionString = "provider=Microsoft.JET.OLEDB.4.0; data source = " +

Application.StartupPath + "\\KerenZahav.mdb";

// Default select command on the PhoneNumbers table

string commandstring = "select * from " + TableName;

// The link between the sql command and the database connection

dataAdapter = new OleDbDataAdapter(commandstring, connectionString);

// Define insert, update, and delete sql commands to use.

BuildCommands(TableName);

// Declare and fill the in-memory dataset from the database

dataSet = new DataSet();

dataSet.CaseSensitive = true;

dataAdapter.Fill(dataSet, TableName);

bindingSource1.DataSource = dataSet.Tables[tableName];

dataTable = dataSet.Tables[tableName];

}

ושאני בא להריץ את התוכנה יש לי תשגיאה הבאה:

ספק 'Microsoft.JET.OLEDB.4.0' אינו רשום במחשב המקומי.

איך אני פותר את זה??

פורסם

מחפש בגוגל איך מתקינים את הספק הנחוץ ?

פורסם
  • מחבר

חיפשתי לא מצאתי

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים