using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.OleDb; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WindowsFormsApplication1 { public partial class form_Tel_def : Form { public form_Tel_def() { InitializeComponent(); } private void btn_kaydet_yeni_Click(object sender, EventArgs e) { String bag_cum = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Users\\user\\Documents\\DBASE.accdb;"; OleDbConnection bag = new OleDbConnection(bag_cum); bag.Open(); this.Text = bag.State.ToString(); OleDbCommand komut1 = new OleDbCommand(); komut1.Connection = bag; komut1.Parameters.AddWithValue("ad", txt_ad.Text); komut1.Parameters.AddWithValue("soyad", txt_soyad
Size yardımda bulunmaya çalıştım diğer çalışmalarımda buluşmak üzere.
Yorumlar
Yorum Gönder