return parameter from store procedure

  • Thread starter Thread starter Hrcko
  • Start date Start date
H

Hrcko

How to read a parameter from store procedure?

I want to get a number of rows for the specific tabel.
The parameter is @@ROWCOUNT.

Hrcko
 
youParameter.Direction = ParameterDirection.Output;

return (int)youParameter.Value;

byez
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top