Mysql.data.dll 6.9.8 v6.9.8 official website of all versions of _x64_x86 The latest software | Top ranking | Software classification | Special software | Forum post | Manufacturers Daquan

Your location: Home Page To Programming To Programming assistant The mysql.data.dll 6.9.8 v6.9.8 website, all versions of _x64_x86

Mysql.data.dll 6.9.8 v6.9.8 official website of all versions of _x64_x86 Mysql.data.dll download | Mysql.data.dll 6.9.8 The users score: 8

  • Software size: 6.0M
  • Software language: Chinese
  • Software type: domestic software
  • Software Categories: free software / programming
  • Update: 2016-12-21
  • Software level: 4
  • Official website: no
  • Operating environment: WinAll, WinXP, Win7, Win8
  • Software vendors:

Software size: 6.0M

top Comments: 50% One
step on Bad review: 50 A step

Other similar software

Software introduction

Software label: Mysql.data.dll DLL

Mysql .data.dll In order to use Unity MySQL implementation and programming of user data base The driver file is connected, complete the necessary plug-in database connection! This collection contains 32 bits and 64 bits for all versions of mysql.data.dll!

Mysql.data.dll features

The use of mysql.data.dll c# will be able to make the speech more concise operation MySQL database, if you encounter a loss of mysql.data.dll "or" mysql.data.dll cannot be found "wrong, you can download the plugin to repair!

DLL file Repair method:

1, unzip the downloaded file.

2, copy the file "mysql.data.dll" to the system directory.

3, the general system directory: C:\WINNT\System32 64 bit system for C:\Windows\SysWOW64

At the end of 4, click the start menu -- > -- > input Regsvr32 mysql.data.dll after the operation, enter the error can be resolved!

5.MySQL database of the C# code, need to add a reference to MySql.Data.dll.

MySql.Data.dll reference documents:

/ / /

Public MySQL database operation

/ / / author:hhm

/ / / date:2012-2-22

/ / /

Public class MySqlDbHelper

{

#region private variables

Private const string defaultConfigKeyName = "DbHelper"; / / default connection string Key

Private string connectionString;

Private string providerName;


#endregion


The #region constructor


/ / /

Changing the default constructor (DbHelper)

/ / /

Public (MySqlDbHelper)

{

This.connectionString ConfigurationManager.ConnectionStrings[= "DbHelper"].ConnectionString;

This.providerName ConfigurationManager.ConnectionStrings[= "DbHelper"].ProviderName;

}


/ / /

DbHelper / / / constructor

/ / /

连接字符串名"> / / / name= connection string name

Public MySqlDbHelper (string keyName)

{

This.connectionString = ConfigurationManager.ConnectionStrings[keyName].ConnectionString;

This.providerName = ConfigurationManager.ConnectionStrings[keyName].ProviderName;

}


#endregion


Public int ExecuteNonQuery (string SQL, params MySqlParameter[] parameters) {

MySqlConnection con = new MySqlConnection (connectionString);

(con.Open);

MySqlCommand CMD = new MySqlCommand (SQL, con);

Foreach (MySqlParameter parameter in parameters)

{

Cmd.Parameters.Add (parameter);

}

Int res =0;

Try

{

(RES = cmd.ExecuteNonQuery);

}

Catch (Exception Ex)

{

Res = -1;

}

(cmd.Dispose);

(con.Close);

Return res;

}


Public object ExecuteScalar (string SQL, params MySqlParameter[] parameters)

{

MySqlConnection con = new MySqlConnection (connectionString);

(con.Open);

MySqlCommand CMD = new MySqlCommand (SQL, con);

Foreach (MySqlParameter parameter in parameters)

{

Cmd.Parameters.Add (parameter);

}

Object = cmd.ExecuteScalar (RES);

(cmd.Dispose);

(con.Close);

Return res;

}


Public DataTable ExecuteDataTable (string SQL, params MySqlParameter[] parameters)

{

MySqlConnection con = new MySqlConnection (connectionString);

(con.Open);

MySqlCommand CMD = new MySqlCommand (SQL, con);

Foreach (MySqlParameter parameter in parameters)

{

Cmd.Parameters.Add (parameter);

}

DataSet dataset = new DataSet (//dataset); after the implementation of the data set

MySqlDataAdapter adapter = new MySqlDataAdapter (CMD);

Adapter.Fill (dataset);

(cmd.Dispose);

(con.Close);

Return dataset.Tables[0];

}

}

Decompression password: www.137844.xyz

Software screenshot

Download address

Mysql.data.dll 6.9.8 v6.9.8 official website of all versions of _x64_x86

Click the error Unable to download software download or not available, please click on the error, thank you!

User comments

Popular comment

The latest comments

The first floor of the European 137844.xyz guest users Published: 2017/6/15 19:52:42
It is this document I want, to solve the problem, can the normal operation of the software, the result is normal

Support ( Zero ) Levy (reply)

Comment View all comments ( 1 )

Nickname:
Please don't comment without meaning or words, all of our comments will have a manual review.
0 words: /500 (you need to display the comments after the audit)