您好,我是昨天那位提asp.net对数据库的“增”代码
public int AddUInfo(string P_Str_Name, ){
SqlConnection myConn = dbObj.GetConnection();
SqlCommand myCmd = new SqlCommand("Proc_InsertUInfo", myConn);
myCmd.CommandType = CommandType.StoredProcedure;
//添加参数
SqlParameter Name = new SqlParameter("@Name",
SqlDbType.VarChar, 50);
Name.Value = P_Str_Name;
myCmd.Parameters.Add(Name);
//添加参数
SqlParameter MemberId = myCmd.Parameters.Add
("@MemberId",SqlDbType.BigInt,8);
MemberId.Direction = ParameterDirection.Output;
//执行过程
myConn.Open();
try
{
myCmd.ExecuteNonQuery();
}
catch (Exception ex)
{
throw(ex);
}
finally
{
myCmd.Dispose();
myConn.Close();
}
return Convert.ToInt32(MemberId.Value.ToString());
是这样的,我想请问一下,这段代码的存储代码在哪里可以看到呢????
补充:就是存储过程在哪看呢?