存储过程如下:set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
goALTER procedure [dbo].[update_computer_name] @newComputer varchar(20)
as
   update config set Sname=@newComputer 
where Sno='1111'
我是这样调用的,但是出现了错误SqlCommand cmd1;
                cmd1 = con.CreateCommand();                cmd1.CommandType = CommandType.StoredProcedure;
                cmd1.CommandText = "update_computer_name"+ " '"+str+"'";
                    cmd1.ExecuteNonQuery();
                    con.Close();
错误是:应用程序发生异常 未知的软件异常 (0xe0434f4d),位置为0x7c812afd
怎么用这种方式直接调用,而不是使用SqlParameter