Author: ctarp2 | Posted on: 8/17/2009 5:38:25 PM | Views : 318

 
Function:
 

public SqlParameter mp(string ParamName, SqlDbType ParamType, long ParamSize, object ParamValue, System.Data.ParameterDirection ParamDirection)
{
        SqlParameter functionReturnValue = default(SqlParameter);
        if (ParamSize > 0)
        {
            functionReturnValue = new SqlParameter(ParamName, ParamType, ParamSize);
        }
        else
        {
            functionReturnValue = new SqlParameter(ParamName, ParamType);
         }
    &nbs ...

Go to the complete details ...