The command generator of mysqldatatable sometimes generates code in the InitializeComponent() part that looks like this:
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(User));
this.mySqlConnection1 = new CoreLab.MySql.MySqlConnection();
this.mySqlDataTable1 = new CoreLab.MySql.MySqlDataTable();
this.mySqlDeleteCommand1 = new CoreLab.MySql.MySqlCommand();
this.mySqlInsertCommand1 = new CoreLab.MySql.MySqlCommand();
this.mySqlSelectCommand1 = new CoreLab.MySql.MySqlCommand();
this.mySqlUpdateCommand1 = new CoreLab.MySql.MySqlCommand();
...
//
// mySqlDeleteCommand1
//
this.mySqlDeleteCommand1.CommandText = "DELETE FROM testuser WHERE ((UserID = :Original_UserID))";
...
//
// mySqlInsertCommand1
//
this.mySqlInsertCommand1.CommandText = resources.GetString("mySqlInsertCommand1.CommandText");...
What is it with the resource string? They are not found at runtime and causes an error. And why is this defined for some strings (not for all)?
Kind regards,
Roger