How do I: use database common methods in web services

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CyberSoftHari
    Recognized Expert Contributor
    • Sep 2007
    • 488

    How do I: use database common methods in web services

    I want to create all my database common methods in web services and retrieve data from that web service.
    Is it correct way to retrievedata ? Can any one point me to do that way!

    Below code done in web page cs.
    [code=asp]
    using System.Web.UI.W ebControls;
    SqlDataSource dsrcSample = new SqlDataSource() ;
    dsrcSample.Conn ectionString = ConfigurationMa nager.Connectio nStrings[1].ToString();
    [/code]
  • DrBunchman
    Recognized Expert Contributor
    • Jan 2008
    • 979

    #2
    Hi CyberSoftHari,

    After 326 posts you must know that this post should have gone in the .NET forum!!

    Dr B

    (Moved to .NET)

    Comment

    • CyberSoftHari
      Recognized Expert Contributor
      • Sep 2007
      • 488

      #3
      Sorry Moderator, at the time I was reading ASP Threads.

      Comment

      Working...