Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void Form1_Load(object sender, EventArgs e)
- {
- try
- {
- MySqlConnection conexion = new MySqlConnection("Server=10.0.0.9; Port=3308; Database= baseprincipal; Uid=root; Pwd=; ");
- conexion.Open();
- }
- catch (Exception ex)
- {
- MessageBox.Show( this,ex.Message,"error", MessageBoxButtons.OK, MessageBoxIcon.Error);
- }
- }
Add Comment
Please, Sign In to add comment