ببخشید الان کد من به این شکل هستش.

SqlConnection myconnection = new
SqlConnection("Data Source=localhost\\sqlexpress;Initial Catalog=lord;Integrated Security=True");
SqlCommand mycommand = new SqlCommand();
mycommand.Connection = myconnection;
mycommand.CommandText = @"select id,name,lastname from Table1 where id =@id";
mycommand.Parameters.AddWithValue(@"id", textBox1.Text);
SqlDataReader reader;
reader = mycommand.ExecuteReader();
if (reader.Read())
{
textBox2.Text = reader["Name"].ToString();
textBox3.Text = reader["lastname"].ToString();

}
myconnection.Open();
mycommand.ExecuteNonQuery();
myconnection.Close();

اما وقتی اجرا میکنم اینجوری خطا میده :



میشه راهنمایی کنین؟