c# - How to read a database table column using asp.net web service? -
i need asp.net (c#) web service read column of database table , store data in array. new asp.net , web service concept.can me sample code can proceed problem. please me. thanx in advance.
these steps take make happen
- read wcf (docs, videos), create hello world client server applicaton
-
define interface reading data database, example
public iservice { list<datatype> getdatabyid(object id); }
implement on server side, add decoration attributes. database interaction use ado.net or orm
- regenerate client proxy , start using application
Comments
Post a Comment