private void button3_Click(object sender, EventArgs e)
{
tablo.Clear();
baglan.Open();
string kayit = "update takimlar set takım_adı=@tad,takım_kurucusu=@tk,takım_stadı=@ts";
SqlCommand komut = new SqlCommand(kayit, baglan);
komut.Parameters.AddWithValue("@tad", textBox1.Text);
komut.Parameters.AddWithValue("@tk", textBox2.Text);
komut.Parameters.AddWithValue("@ts", textBox3.Text);
komut.ExecuteNonQuery();
baglan.Close();
takimListele();
}