I am going to connect Microsoft Azure SQL Database using C# programming.
Firstly, create a Database and Table in the Microsoft Azure SQL Database. Here's the screenshot:

After creating the DB connect the Database using SQL Server.
Go to Server Explorer Object Explorer and Add connection.
Get the server name and login credential from https://manage.windowsazure.com. And login to the server using the SQL Server

After login to the server it shows the database in the Server Explorer Object Explorer Window like the following screenshot:
Now create the table using New Query. (I have created a table with two columns namely Name and Age. We can create any number of columns like the normal DB)

After creating the table, the explorer will look like the following:

Now its time for us to write the code. Create a form with two text box, two label and a command button.
Enter the following code inside the command button.
- String name = textBox1.Text.ToString();
- String age = textBox2.Text.ToString();
- SqlConnection con = new SqlConnection("Your connection String with password");
- con.Open();
- String query = "INSERT INTO dbo.demo (Name, Age) VALUES ('" + name.ToString() + "','" + age.ToString() + "' );";
- SqlCommand cmd = new SqlCommand(query, con);
- cmd.ExecuteNonQuery();
- MessageBox.Show("Sucessfully inseted");

After insertion of the data check with the db.

We can check the Dashboard.

Have fun.


Humayun Kabir MamunPosted Mar 29, 2016, 1:43 AM EDT
Nice...
Ammar ShaukatPosted Mar 3, 2016, 7:05 AM EST
very good share , keep it up
Arul RPosted Jan 11, 2016, 3:21 AM EST
Nice share
Santhakumar MunuswamyPosted Sep 5, 2015, 12:09 AM EDT
Thanks for nice share
Sumit JoshiPosted Sep 4, 2015, 8:27 AM EDT
Thanks for sharing.
Rajeesh MenothPosted Sep 3, 2015, 8:35 PM EDT
Good One..
Pankaj Kumar ChoudharyTOP 100Posted Sep 3, 2015, 4:11 AM EDT
Nice Explain.......
Sibeesh VenuTOP 100Posted Sep 3, 2015, 12:54 AM EDT
Nice
Vipul MalhotraPosted Sep 2, 2015, 11:06 PM EDT
nice Article
Vaikesh K PPosted Sep 2, 2015, 10:10 PM EDT
Great
Karthikeyan KPosted Sep 2, 2015, 9:56 PM EDT
Thanks for sharing