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
What about DLL calls that require callbacks?
What is recordset in visual basic?
How would you attach pictures in Treeview Control?
What is the difference between change event in normal combobox and dbcombobox?
What is OLEDB?
How would you add elements in TreevieW Control.
How do I get my application on top?
Explain the creation project schedule.
Can you tell me the properties of the controls?
How do I get a bitmap picture in a field in an Access database?
What is the use of debug Window?
Is there any Edit method in ADO Data Access method?
Explain the types of Views in Listview Control.
What are the rules which should be followed while naming a variable in VB?
Explain the types of Views in Listview Control?