Less Words, More Coding
System hehe

System hehe

Connecting to SQLyog Enterprise using .Net connector

download first the connector from this site —-> http://dev.mysql.com/downloads/connector/net/

NOTE: In creating your project, add first to the references the “MySql.Data” to use the required variables…

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Windows.Forms;

using MySql.Data.MySqlClient;

namespace WindowsFormsApplication12

{

    public partial class Form1 : Form

    {

        public string MyConString = “SERVER=localhost;” +

                 ”DATABASE=testdb;” +

                 ”UID=root;” +

                 ”PASSWORD=;”;

        public MySqlConnection connection;

        public MySqlCommand command;

        public MySqlDataReader Reader;

        public Form1()

        {

            InitializeComponent();

        }

        private void Form1_Load(object sender, EventArgs e)

        {

            try

            {

                connection = new MySqlConnection(MyConString);

                connection.Open();

                MessageBox.Show(“open”);

                command = new MySqlCommand(“INSERT INTO namestable(FirstName, LastName, MiddleName) “

                                          +”VALUES(‘asdf’, ‘asdf’, ‘asdf’)”, connection);

                command.ExecuteNonQuery();

                connection.Close();

            }

            catch(Exception er)

            {

                MessageBox.Show(er.ToString());

            }

        }

    }

}

chapineda:

sino mas pogi? haha :)

chapineda:

alienware

chapineda:

alienware

moonstonecrab:

Hello dear followers! I need your help! Would mine to follow my second blog?

http://sweetbudscalledlove.tumblr.com/

I really need a lot of followers. This is our final project in E-commerce. One of the requirements is having a lot of followers. Hope you’ll help me to gain more followers. Thanks! :*

moonstone x