Link to home
Start Free TrialLog in
Avatar of dotnet22
dotnet22

asked on

ParameterDirection

Can someone explain to me the purpose of this:

public void CreateSqlParameter()
 {
    SqlParameter myParameter = new SqlParameter("@Description", SqlDbType.VarChar);
    myParameter.Direction = ParameterDirection.Output;
 }

When do you use the ParameterDirection.Output... or ParameterDirection.Input? When would you use these. I've read something in msdn but I still do not see the point...
ASKER CERTIFIED SOLUTION
Avatar of volking
volking

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial