private void button2_Click(object sender, EventArgs e)
{
String str = "Server=.;DataBase=kebiao;Integrated Security=true;";
SqlConnection conn = new SqlConnection(str);
String s3 = textBox7.Text;
string str3 = "delete from kebao where xm=' " + s3 + "'";
SqlCommand cmd = new SqlCommand();
cmd.Connection = conn;
cmd.CommandText = str3;
conn.Open();
cmd.ExecuteNonQuery();
conn.Close();
}