Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

How to fetch data from SQL Server 2000 via tcp/ip ?

I want to fetch data from SQL Server 2000 using tcp/ip connection
and display on the client.

Q : How do i fetch data from SQL Server 2000 and put the data on a combo box.

Client User Interface:
_____________________________
Category: |
o Books o Stationey | } Radio Buttons: If Books is choose, books items will display |
o accessories o I.T Stuffs | }
|
_________ |
Item: |____|_^_|--------> {ComboBox} The data is retrieved /fetch from SQL Server 2000 by tcp/ip
|
|
|
|
|
|
------------
My server program software is Ms Visual Studio.NET 2003.
Lanuage is C++

Appreciate the kind help recieved. :WAVE:
[1142 byte] By [trible777] at [2007-11-11 6:38:19]