I am using The Data Access Application block in an N-Layer scenario. In one of my Public Methods am returning a collection, but I am also passing back the Total Number of pages via the "out" parameter.I am having trouble getting the value of the "out" paramater
which I specify in a method for the Data Access Layer and Business Logic Layer.
.....solved this. I had to make sure that the out parameter was initialized before being used (even though it was only retrieving)
LeMerovingia...
Member
483 Points
326 Posts
Retrieve value from "out" parameter from a method
Mar 16, 2009 05:06 PM|LINK
I am using The Data Access Application block in an N-Layer scenario. In one of my Public Methods am returning a collection, but I am also passing back the Total Number of pages via the "out" parameter.I am having trouble getting the value of the "out" paramater which I specify in a method for the Data Access Layer and Business Logic Layer.
.....solved this. I had to make sure that the out parameter was initialized before being used (even though it was only retrieving)