コード例 #1
0
 protected void Button1_Click(object sender, EventArgs e)
 {
     DataSet1TableAdapters.TBL_DERSLERTableAdapter dt = new DataSet1TableAdapters.TBL_DERSLERTableAdapter();
     dt.DersEkle(TxtDers.Text);
     Response.Redirect("DersListesi.Aspx");
 }
コード例 #2
0
 private void pictureBox1_Click(object sender, EventArgs e)
 {
     ds.DersEkle(textBox2.Text);
     MessageBox.Show("Ekleme Başarılı");
 }