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, 5:43 AM
Nice...
Ammar ShaukatPosted Mar 3, 2016, 12:05 PM
very good share , keep it up
Arul RPosted Jan 11, 2016, 8:21 AM
Nice share
Santhakumar MunuswamyPosted Sep 5, 2015, 4:09 AM
Thanks for nice share
Sumit JoshiPosted Sep 4, 2015, 12:27 PM
Thanks for sharing.
Rajeesh MenothPosted Sep 4, 2015, 12:35 AM
Good One..
Pankaj Kumar ChoudharyPosted Sep 3, 2015, 8:11 AM
Nice Explain.......
Sibeesh VenuPosted Sep 3, 2015, 4:54 AM
Nice
Vipul MalhotraPosted Sep 3, 2015, 3:06 AM
nice Article
Vaikesh K PPosted Sep 3, 2015, 2:10 AM
Great
Karthikeyan KPosted Sep 3, 2015, 1:56 AM
Thanks for sharing