NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

Görsel 2 Kaydet Butonu:
Dim baglanti As New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=hastalar.mdb")
Dim komut1 As New OleDbCommand("Select * from hastalar where tc='" & TextBox1.Text & "'", baglanti)
baglanti.Open()
Dim dr As OleDbDataReader
dr = komut1.ExecuteReader
If dr.HasRows Then
MsgBox("TC zaten kayıtlı")
baglanti.Close()
Else
baglanti.Close()
Dim tc, ad, soyad, tel, sosguv, cinsiyet As String
tc = TextBox1.Text
ad = TextBox2.Text
soyad = TextBox3.Text
Dim dogtar As String = DateTimePicker1.Value.ToString
tel = MaskedTextBox1.Text
cinsiyet = ComboBox2.Text
sosguv = ComboBox2.Text
Dim komut As New OleDbCommand
komut.Connection = baglanti
komut.CommandText = "Insert into hastalar (tc,ad,soyad,d_tar,tel,sosguv,cinsiyet) values ('" & tc & "','" & ad & "','" & soyad & "','" & dogtar & "','" & tel & "','" & sosguv & "','" & cinsiyet & "',)"
baglanti.Open()
komut.ExecuteNonQuery()
baglanti.Close()
MsgBox("Kayıt Başarılı")

Görsel 2 Güncelleme Butonu:
Dim tc, ad, soyad, tel, sosguv, cin As String
Dim dogtar As String = DateTimePicker1.Value.ToString
tc = TextBox1.Text
ad = TextBox2.Text
soyad = TextBox3.Text
tel = MaskedTextBox1.Text
cin = ComboBox1.SelectedItem
sosguv = ComboBox2.SelectedItem

Dim baglanti As New OleDbConnection("Provider=Microsfot.Jet.oledb.4.0;Data source=hastalar.mdb")
Dim komut As New OleDbCommand
komut.Connection = baglanti
komut.CommandText = "update uyeler set tc='" & tc & "', ad='" & ad & "', soyad='" & soyad & "', d_tar='" & dogtar & "', telefon='" & tel & "', sosguv='" & sosguv & "', cinsiyet='" & cin & "' where tc='" & tc & "'"
baglanti.Open()
komut.ExecuteNonQuery()
baglanti.Close()
MsgBox("Güncelleme Tamamlandı")
Görsel 2 Silme Butonu:
Dim tc As String
tc = TextBox1.Text
Dim baglanti As New OleDbConnection("Provider=microsoft.jet.oledb.4.0;Data Source=hastane1.mdb")
Dim komut As New OleDbCommand
komut.Connection = baglanti
komut.CommandText = "delete * from hastalar where tc='" & tc & "'"
baglanti.Open()
komut.ExecuteNonQuery()
baglanti.Close()
MsgBox("Kişi silme başarılı")
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.