Service – opens a “ Add Service Reference” dialog window that allows a create connection to a service that returns data for your application. ![]() Database – database connection and selection of database objects.MS Visual Studio 2010 provides four connection types to data sources:.In the window need to select one of four options of connection to the data source. Selection of connection type from which application will get data Selection of the data source type (DB).Īfter that, the window of master for the connection to data source will be opened (see fig. Calling the master of database connection ⇑ 3. 1) or by clicking at the far left of the toolbar of the “ Data Source” button.įig. ![]() This is done by calling the command “ Add New Data Source …” from the menu “ Data” (Fig. To access the database file should be implemented connection of this file to the application. ![]() Creating application as Windows Forms Application. The application that need connect to database, must be realized as Windows Forms Application. Make a connection to the Microsoft Access database file, that is named mydb.mdb and placed on the drive by the following path: C:\Programs\C_Sharp\Train_10\WindowsFormsApplication1\mydb.mdb
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |