Results 1 to 3 of 3

Thread: [2.0] Connect to db through webservice

  1. #1

    Thread Starter
    Hyperactive Member vbcode1980's Avatar
    Join Date
    Nov 2005
    Location
    Anywhere the wind blows
    Posts
    365

    [2.0] Connect to db through webservice

    Hi,

    I want to write a desktop application to connect with an Access database on our corporate website. Unfortunately, the website is hosted on a server that does not allow remote connections from outside its network. (Except for visiting the websites of course) This means I can't connect to the database directly.
    So I figured, I have to write a webservice or something that can be placed on the website to connect with the database. Then my app can communicate with this webservice, and the webservice can pipe through all data.

    Any clues on how to proceed with this? I've never written a webservice before, just remember a presentation in which someone demonstrated something like I'm trying to do.

    Cheers,
    VBCode1980
    I code C#....

  2. #2
    Fanatic Member popskie's Avatar
    Join Date
    Jul 2005
    Location
    In my chair
    Posts
    666

    Re: [2.0] Connect to db through webservice

    You can create a webservice.
    then write a method that return a dataset, table, dataadapter or any data container object that suite for your requirements.

  3. #3
    Member
    Join Date
    Sep 2006
    Posts
    39

    Re: [2.0] Connect to db through webservice

    Go here: http://www.codeproject.com/cs/webservices/

    There are loads on articles on webservices in c# that should put you on the right path

    Al

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width