۱۹-تير-۱۳۹۲, ۱۳:۲۹:۵۵
مشکل این کد چیست؟
نام بانک teacher هست. نوع بانک sql
کد:
Dim ins As String
ins = "insert info teacher (teachercode,fname,lname,rank,tel,address) valuse("
ins = ins + txt_code.Text + "," + txt_name.Text + "," + txt_family.Text + "," + txt_rank.Text + ","
ins = ins + txt_phon.Text + "," + txt_address.Text + ")"
Call connect(ins)
Call connect("SELECT * FROM teacher")
Call fill