Accessing SQL Azure Using ADO.NET

In my first post on SQL Azure (SQL Azure: A First Contact) I talked about how you can access SQL Azure using SQL Server 2008 Management Studio (SSMS).

In this post, the journey continues with “walking” on the cloud using ADO .NET :)

Here’s the recipe!

Ingredients
Objects used from System.Data.SqlClient namespace:
Process
Source Code (for obvious reasons I removed the connection string from the source code file)
Considerations


Screenshot of the output


Have fun!

Drop me a comment if you need any help implementing the ADO.NET connection to SQL Azure!

Labels: , ,