Code
Console.WriteLine("请输入你的用户名:");
strName = Console.ReadLine();
Console.WriteLine("请输入你的密码:");
string strPwd = Console.ReadLine();
SqlConnection con = new SqlConnection("server=(local);database=LOGIN;pwd=sa;uid=sa;");
SqlCommand cmd = new SqlCommand();
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.Add("@Name", SqlDbType.NVarChar).Value = "strName";
cmd.Parameters.Add("@pwd", SqlDbType.NVarChar).Value = "strPwd";
cmd.Parameters.Add("@shuchu",SqlDbType.Int).Value ??????????????????????????????????????????????????????????????