Search results for query: *

  • Users: Prince29
  • Content: Threads
  • Order by date
  1. P

    Why i get error like this : "Syntax error in query expression"

    What wrong with my code ? here's my code : Try Connection.Open() Dim query As String query = ("SELECT * from RegistrationTable WHERE _Name = '" & ListBox1.Text & "'") command = New OleDbCommand(query, Connection) Reader =...
  2. P

    Question How can i make auto increment in my textbox

    All i want is every time i finish the registration and I click ADD button I want my ID increase one . Like 1 , 2 , 3, ... Here's my code Try cn = New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source= " & Application.StartupPath & "\HMSdb.accdb") cn.Open()...
Back
Top