CONNECTIVITY OF SQL 2000 + VB USING ODBC.
steps i Follow-
1) Go to Control panel-->Admintrative Tools-->Double -click
Data sources(ODBC)-->click Add button-->I choose SQL server
(last option), Is it right or wrong option for connecting
to SQL 2000.Then a new screen appears Create a New
dataSource-->in name textbox,we can write anyname--Right or
wrong. suppose i enter sonia, & my server name is .,so I
enter . in server & click next button-->On the Next screen
i have checked the option With Sql server authentication--
>Login Id-sa, Password-->Blank-->Click next button-->Next--
>Finish-->Then I click on button Test Data source-->Mesage
Comes TESTS COMPLETED SUCCESSFULLY-->OK-->OK-->Ok.

These steps we have to do or not for Connectivity using
ODBC.
If yes,then what after these steps we have to do??Plz reply
me early ??Thx in advance.

Answer Posted / deepak g

You have to use this DSN name (in your case it is sonia) in
your VB code wherever you wish to establish a connection
between your VB application and your SQL server 2K database.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What about DLL calls that require callbacks?

983


What is recordset in visual basic?

564


How would you attach pictures in Treeview Control?

1544


What is the difference between change event in normal combobox and dbcombobox?

1780


What is OLEDB?

1545






How would you add elements in TreevieW Control.

1513


How do I get my application on top?

928


Explain the creation project schedule.

586


Can you tell me the properties of the controls?

1568


How do I get a bitmap picture in a field in an Access database?

880


What is the use of debug Window?

1543


Is there any Edit method in ADO Data Access method?

1514


Explain the types of Views in Listview Control.

2308


What are the rules which should be followed while naming a variable in VB?

540


Explain the types of Views in Listview Control?

1771