incorrect syntax near the keyword from

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kimpoy0
    New Member
    • Jun 2021
    • 1

    incorrect syntax near the keyword from

    module:
    Code:
    Public Function searchdata(ByVal qr As String) As DataSet
            da = New SqlDataAdapter(qr, con)
            ds = New DataSet
            da.Fill(ds)
            Return ds

    login:
    Code:
            ds = searchdata(qr)
            If (ds.Tables(0).Rows.Count > 0) Then
    Last edited by Banfa; Jun 10 '21, 03:07 PM. Reason: Added code tags
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    There is no keyword from in your posted code

    Comment

    Working...