سلام


SqlConnection objConnection = newSqlConnection(@"Data Source=.;Initial Catalog=student;Integrated Security=True");
objConnection.Open();
SqlCommand objCommand = newSqlCommand();
objCommand.CommandText =
"INSERT INTO student " + "(id, name, family) ";
objCommand.Parameters.AddWithValue(
"id", textBox1.Text);
objCommand.Parameters.AddWithValue(
"@name", textBox2.Text);
objCommand.Parameters.AddWithValue(
"@family", textBox3.Text);
objCommand.ExecuteNonQuery();
objConnection.Close();


مشکل این کانکشن کجاست؟