string vtyolu = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C://Users//NAZIM//source//repos//WebApplication1//WebApplication1//Veritabanı5.mdb;Persist Security Info=True";
OleDbConnection baglanti = new OleDbConnection(vtyolu);
baglanti.Open();
string ekle = "insert into KULLANICILAR(name,e-mail,password,phone-number) values (@name,@e-mail,@password,@phone-number)";
OleDbCommand komut = new OleDbCommand(ekle, baglanti);
komut.Parameters.AddWithValue("@name", txtName.Text);
komut.Parameters.AddWithValue("@e-mail", txtemail.Text);
komut.Parameters.AddWithValue("@password", txtpassword.Text);
komut.Parameters.AddWithValue("@phone-number", txtphone.Text);
int sonuc =komut.ExecuteNonQuery();