Click to See Complete Forum and Search --> : Web Service (Urgent)


kishan.varma
September 30th, 2008, 04:02 AM
HI
Can anybody plz help by providin sample code for web service where i can retrievedata form the database using Queries or StoredProcedures and bind this data to a textbox in another form using AutoCompleteExtender in C#

Thanx in Advance
Kishan

jasonli
September 30th, 2008, 08:45 AM
First of all, this is not the way you ask questions. Nobody can program for you without doing their own work. Actually you get lots of sample code or project online, just search by Google.

In this project, you need to do one web service and one windows application. In web service use Oledb or SqlClient class to get data from data base. and then call web service from windows application. bind the datatable to AutoCompleteExtender collection of the text box.

I can provide some parts of source code if you want, but I can't provide the whole solution for you.

toraj58
September 30th, 2008, 02:01 PM
check this article on codeproject to begin web services:

http://www.codeproject.com/KB/webservices/myservice.aspx