-
Book Overview & Buying
-
Table Of Contents
Microsoft SQL Azure Enterprise Application Development
By :
Here, you will now connect to the SQL Azure with your connection string stored in the application's settings file. You will also create and drop a database, create a table, and populate it, and so on. Although only the code for ADO.NET is demonstrated, ODBC and OLE DB may also be used.
The very first thing, in this task, is to save the connection string information to the application settings. There are two databases in the SQL Azure server we have been working with, the master database and the database named Bluesky. In the next step, we will store the master database's connection string to the settings file.
1. Create a Windows Application project using the Windows Forms Application template and give it a name of your own (herein it is CreateDBObjects).
2. The program creates a project folder in the Solution Explorer, as shown in the following screenshot:

3. Add four buttons and a label and...
Change the font size
Change margin width
Change background colour