Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / December 2004

Tip: Looking for answers? Try searching our database.

ASP command

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mickael JOUVIN - 03 Dec 2004 14:46 GMT
Hello,
I would like to know what is the ASP command which returns the number of
record after a SQL request ?
Regards,

Micka?l.
Dan Rogers - 03 Dec 2004 22:00 GMT
I believe the response object has a recordcount property on it.

--------------------
>From: "Mickael JOUVIN" <m.jouvin@aquitaine.chambagri.fr>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
[quoted text clipped - 6 lines]
>NNTP-Posting-Host: agri-bord.rain.fr
>X-Trace: s5.feed.news.oleane.net 1102085078 3394 81.80.110.184 (3 Dec 2004
14:44:38 GMT)
>X-Complaints-To: abuse@oleane.net
>NNTP-Posting-Date: Fri, 3 Dec 2004 14:44:38 +0000 (UTC)
[quoted text clipped - 3 lines]
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
>Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado.fastwebnet.it!tiscali!new
sfeed1.ip.tiscali.net!proxad.net!proxad.net!oleane.net!oleane!not-for-mail
>Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:27019
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
>
[quoted text clipped - 4 lines]
>
>Micka?l.
Scott M. - 03 Dec 2004 23:38 GMT
An ADO RecordSet has a RecordCount property.  The Response object does not
since the Response object has nothing to do with data returned from a
database.

RecordCount however, is classic ADO, not ADO.NET and RecordCount returns
however many records there are in a RecordSet and not necessarially how many
records were affected by executing a command.

>I believe the response object has a recordcount property on it.
>
[quoted text clipped - 29 lines]
>>
>>Micka?l.
Dan Rogers - 04 Dec 2004 00:26 GMT
Ahh, yes.  My bad.  It's been a while since I had to do that... this being
the WS forum and all.

--------------------
>From: "Scott M." <s-mar@nospam.nospam>
>References: <copu4m$3a2$1@s5.feed.news.oleane.net>
<EzeNVOY2EHA.3152@cpmsftngxa10.phx.gbl>
>Subject: Re: ASP command
>Date: Fri, 3 Dec 2004 18:38:34 -0500
[quoted text clipped - 8 lines]
>NNTP-Posting-Host: 69.37.4.150.adsl.snet.net 69.37.4.150
>Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11
.phx.gbl
>Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:27030
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
>
[quoted text clipped - 27 lines]
>>>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
>>>Path:

cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado.fastwebnet.it!tiscali!new

sfeed1.ip.tiscali.net!proxad.net!proxad.net!oleane.net!oleane!not-for-mail
>>>Xref: cpmsftngxa10.phx.gbl
>> microsoft.public.dotnet.framework.aspnet.webservices:27019
[quoted text clipped - 6 lines]
>>>
>>>Micka?l.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.