1asp.net使用返回参数的存储过程SqlParameterCollection sqlParams = ProjectAddCommand.Parameters;
2asp.net使用返回参数的存储过程ProjectAddCommand.CommandType = CommandType.StoredProcedure;
3asp.net使用返回参数的存储过程SqlParameter parmsBasicID                    = new SqlParameter(BasicID_PARM, SqlDbType.Int);
4asp.net使用返回参数的存储过程parmsBasicID.Direction                        = ParameterDirection.Output;
5asp.net使用返回参数的存储过程sqlParams.Add(parmsBasicID);
6asp.net使用返回参数的存储过程
7asp.net使用返回参数的存储过程public bool ProjectAdds(BasicData basicData,out int basicID)
8asp.net使用返回参数的存储过程basicID = Convert.ToInt32(dsCommand.InsertCommand.Parameters[BasicID_PARM].Value);

相关文章: