Retrieve result from SqlCommand

Discussion in 'ASP .Net' started by Wong CS, Mar 8, 2005.

  1. Wong CS

    Wong CS Guest

    Dear developer,

    I'm developing a web service with VS .NET and using C#. And part of the
    webservice is to get data from database (by using SELECT), however, the
    result from the sql query i cannot parse it to string, how can i get the
    result from the SqlCommand..? dataset or datareader..?.

    pls advice & thanks a lot.


    cheers,
    Wong CS
     
    Wong CS, Mar 8, 2005
    #1
    1. Advertising

  2. Wong CS

    Elton Wang Guest

    Hi CS,

    What you need is ADO.NET knowledge. Please go to following
    URL to take look:

    http://msdn.microsoft.com/library/default.asp?
    url=/library/en-us/cpguide/html/cpconoverviewofadonet.asp


    HTH

    Elton Wang


    >-----Original Message-----
    >Dear developer,
    >
    >I'm developing a web service with VS .NET and using C#.

    And part of the
    >webservice is to get data from database (by using

    SELECT), however, the
    >result from the sql query i cannot parse it to string,

    how can i get the
    >result from the SqlCommand..? dataset or datareader..?.
    >
    >pls advice & thanks a lot.
    >
    >
    >cheers,
    >Wong CS
    >
    >
    >.
    >
     
    Elton Wang, Mar 9, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Julian Bowes
    Replies:
    0
    Views:
    684
    Julian Bowes
    Jul 1, 2003
  2. Adhik
    Replies:
    1
    Views:
    5,045
    Patrick Steele [MVP]
    Jul 19, 2003
  3. =?Utf-8?B?VHJhY2V5?=

    Urgent: I can't update database with SqlCommand

    =?Utf-8?B?VHJhY2V5?=, May 5, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    2,256
    Alec MacLean
    May 5, 2004
  4. Wong CS

    Retrieve result from SqlCommand

    Wong CS, Mar 8, 2005, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    127
    Dan Rogers
    Mar 8, 2005
  5. Michael Tan
    Replies:
    32
    Views:
    998
    Ara.T.Howard
    Jul 21, 2005
Loading...

Share This Page