Wednesday, August 20, 2008

How to create In / Out Parameter for SQL Stored Procedure in asp.net ?

SqlParameter sqlParam = new SqlParameter(paramName, paramType);
sqlParam.Direction = paramDirection;
//which can be ParameterDirection.Input or ParameterDirection.Output

No comments: