private void kiralama_FormClosed(object sender, FormClosedEventArgs e)
        {
            arackirala arac = new arackirala();


            baglanti.Open();
            string         cumle = "Select * from tblArac where kiraDurumu='false'";
            SqlDataAdapter da    = new SqlDataAdapter(cumle, baglanti);
            DataTable      dt    = new DataTable();

            da.Fill(dt);
            arac.dataGridView1.DataSource = dt;
            arac.Show();
            baglanti.Close();
        }
Example #2
0
        private void button4_Click_1(object sender, EventArgs e)
        {
            arackirala kirala = new arackirala();

            kirala.Show();
        }