might be a kiddy, biddy question but
I was trying to pass an "output" parameter to a Stored Procedure using C Sharp and was getting an error until I passed the "output" variable using following syntax:
int? ROWID = 0; ADAPTER.INSERT(val1, val2, ref ROWID); Though problem is solved, I just can't understand why, when I try to hold the value in a normal "int" returned by the stored proc it gives a conversion error
int result = ROWID; // not correct So, what I have to do is:
int result = (int)ROWID; // correct What exactly does "int?" mean?