Datareader and Stored ProcParams

Results 1 to 2 of 2

Thread: Datareader and Stored ProcParams

  1. #1
    Join Date
    Dec 1969

    Default Datareader and Stored ProcParams

    Hi,<BR><BR>I need to put data, selected via a stored procedure into an array. For this reason, I need to know how many records have been returned. I found, that the datareader has no property, that tells me that. Now I tried to return the rowcount from the stored procedure via output parameter. <BR><BR>Problem is, the executereader() method does not seem to return the parameters, at least my output parameter is empty.<BR><BR>Can anyone help me with that?<BR><BR>TIA<BR>Wombel

  2. #2
    Join Date
    Dec 1969

    Default One way...

    You could put your data into a data set and then uses its row count feature.

Posting Permissions

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