Exemple #1
0
        protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
        {
            Yonetim yonet = new Yonetim();

            yonet.baglantiAc();
            yonet.stokEkle(urunAdDrop.SelectedValue, urunAdetDrop.Text, firmaText.Text, urunAdDrop.SelectedValue);
        }
Exemple #2
0
        protected void Button1_Click(object sender, EventArgs e)
        {
            yonet.baglantiAc();
            String yetki    = "1";
            Random r        = new Random();
            int    sayi     = r.Next() * 100;
            String rastgele = sayi.ToString();

            yonet.kullaniciEkle(kadText.Text, soyadText.Text, sifreText.Text, mailText.Text, yetki, cinsiyetDrop.SelectedValue, yasText.Text, telText.Text, rastgele);
        }
 protected void Button1_Click(object sender, EventArgs e)
 {
     yonet.baglantiAc();
     yonet.adresEkle(kulIDropDown.SelectedValue, sokaktext.Text, caddeText.Text, mahText.Text, kapiNoText.Text, daireNoText.Text, ilceText.Text, sehirText.Text, postaKodText.Text);
 }