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

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -