PDA

توجه ! این یک نسخه آرشیو شده می باشد و در این حالت شما عکسی را مشاهده نمی کنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : اتصال VB 2005 و SQL



tinaSK
Friday 13 February 2009, 02:36 PM
:cry: یکی هست که بگه چه جوری می شه VB 2005 رو به SQL وصل کرد؟؟؟؟!!

s_massoud
Saturday 21 February 2009, 09:26 AM
جهت اتصال به SQL در VB2005 راحت ترین گزینه استفاده از راهنمای خود نرم افزار می باشد
To connect to a database from Server Explorer


From the View menu, choose Server Explorer.
In Server Explorer right-click the Data Connections node and choose Add Connection.
If this is the first connection you make, the Choose Data Source dialog box appears. In this dialog box under Data Source choose the kind of data source to which you are connecting, and then under Data Provider choose the provider appropriate for the application you are working with. Finally click Continue.
In the Add Connection dialog box enter the requested information.
This information is different for each provider. For more help on this tab, click the Help icon at the top of the dialog box or press F1 with the dialog box selected.
Click the Advanced button to bring up a list of properties where you can change settings for the selected provider.
Click Test Connection to check the connection without closing the dialog box. This way you can make adjustments to the settings if the connection does not succeed.
Click OK.
Your connection appears in Server Explorer under the Data Connections node.