Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Retrieve result from SqlCommand

Reply
Thread Tools

Retrieve result from SqlCommand

 
 
Wong CS
Guest
Posts: n/a
 
      03-08-2005
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


 
Reply With Quote
 
 
 
 
Elton Wang
Guest
Posts: n/a
 
      03-09-2005
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
http://www.velocityreviews.com/forums/(E-Mail Removed)

>-----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
>
>
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
1. Ruby result: 101 seconds , 2. Java result:9.8 seconds, 3. Perl result:62 seconds Michael Tan Ruby 32 07-21-2005 03:23 PM
Retrieve result from SqlCommand Wong CS ASP .Net Web Services 1 03-08-2005 10:55 PM
Urgent: I can't update database with SqlCommand =?Utf-8?B?VHJhY2V5?= ASP .Net 2 05-05-2004 11:35 AM
Return Value from SqlCommand in ASP.Net Adhik ASP .Net 1 07-19-2003 04:23 PM
"Internal connection fatal error" when calling SQLCommand.ExecuteReader Julian Bowes ASP .Net 0 07-01-2003 10:46 AM



Advertisments