470,848 Members | 2,736 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,848 developers. It's quick & easy.

incorrect syntax near the keyword from

module:
Expand|Select|Wrap|Line Numbers
  1. Public Function searchdata(ByVal qr As String) As DataSet
  2.         da = New SqlDataAdapter(qr, con)
  3.         ds = New DataSet
  4.         da.Fill(ds)
  5.         Return ds

login:
Expand|Select|Wrap|Line Numbers
  1.         ds = searchdata(qr)
  2.         If (ds.Tables(0).Rows.Count > 0) Then
Jun 9 '21 #1
1 2459
Banfa
9,065 Expert Mod 8TB
There is no keyword from in your posted code
Jun 10 '21 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Jeff Magouirk | last post: by
11 posts views Thread by Mark Findlay | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.