All About Codes...
Error Could not load file or assembly 'MySql.Data, in Vb.net C#
Solution 1:-
1st you have to remove old MySql.Data from reference
Setps to remove reference
Website-> Start Option -> click on Reference Tab-> select MySql.Data and click on remove.
Now add new MySql.Data to reference
click here to know setps for adding reference
If your using Dev c++ as compiler for c++ program but you getting following error.
`cin' undeclared (first use this function)
`cout' undeclared (first use this function)
Than use following statement after header files.
using namespace std;
see following example to get idea
#include
int main()
{
int num;
cin>> num;
cout << num;
return 0;
}
modify this program by adding using namespace std; statement.
#include
using namespace std;
int main()
{
int num;
cin>> num;
cout << num;
return 0;
}