private void button1_Click(object sender, EventArgs e)
        {
            con.Open();
            // SqlCommand cmd=con.CreateCommand();
            SqlCommand cmd = con.CreateCommand();

            cmd.CommandType = CommandType.Text;
            cmd.CommandText = "insert into pnsdata1 values('" + textBox1.Text + "','" + textBox2.Text + "','" + textBox3.Text + "','" + textBox4.Text + "','" + textBox5.Text + "','" + textBox6.Text + "','" + textBox7.Text + "','" + textBox8.Text + "','" + textBox9.Text + "','" + textBox10.Text + "','" + textBox11.Text + "','" + textBox12.Text + "','" + textBox13.Text + "','" + textBox14.Text + "')";
            cmd.ExecuteNonQuery();
            con.Close();
            MessageBox.Show("Inserted Data succesfully");
            details rsv = new details();

            // reservation rsv = new reservation();
            rsv.Show();
        }
        private void button1_Click(object sender, EventArgs e)
        {
            details ds = new details();

            ds.Show();
        }