Hi Rod,
You can't return a record as an output parameter. Either output each value separately, or use a complete "recordset" as the result of the stored procedure.
You can use ExecuteReader to get a DataReader that holds your records. You can read individual columns from this Reader. The DataReader is an object that looks the most like a classic recordset in ADO.
Look here for an example:
http://msdn.microsoft.com/library/de...ithcommand.asp
But searching for ExecuteReader on Google should return loads of useful hits.
Instead of a DataReader, you can also use a DataSet. For a single record, a DataSet may cause too much overhead, though. A DataReader is usually the fastest way to get a record.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.