Problem with asp.net function syntax (not returning values correctly)?

You can only return a single value from a function - you can pass these by reference and they should come back with the correct values, but for me, I think you'd be better creating a small class with the properties you need returned, and return an instance of that class from this method, populated with the returned variables - this means you'll have fewer problems changing this method if you have to add more return values.

When you say pass them by reference do you mean like this: ADGivenName = (sr. Properties("givenname")(0).ToString()) and remove all the Return 's? – Phil Apr 1 '10 at 8:41 I mean change the byval to a byref, although I really wouldn't recommend this as a solution.

– Paddy Apr 1 '10 at 8:58.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions