468,469 Members | 2,530 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

incorrect syntax near the keyword from

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

Expand|Select|Wrap|Line Numbers
  1.         ds = searchdata(qr)
  2.         If (ds.Tables(0).Rows.Count > 0) Then
5 Days Ago #1
1 736
9,052 Expert Mod 8TB
There is no keyword from in your posted code
4 Days Ago #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
1 post views Thread by kmladenovski | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.