Current location: Hot Scripts Forums » Programming Languages » Visual Basic » how to use SQL in VB


how to use SQL in VB

Reply
  #1 (permalink)  
Old 03-07-04, 02:50 PM
seioh seioh is offline
New Member
 
Join Date: Mar 2004
Location: UK
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
how to use SQL in VB

as the subject,
i think it could be used as a recordset for a data control??
can anyone teach me the syntax, i seem to be confused by all
the ' and " and &.......

also i tried to use SQL to select fields from data control
and display it in DBGrid
but it seems that after setting the recordset as the SQL
i cannot refresh the data control.

thx in advance for any help
Reply With Quote
  #2 (permalink)  
Old 04-06-04, 02:04 AM
neodude neodude is offline
New Member
 
Join Date: Apr 2004
Location: malaysia
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by seioh
as the subject,
i think it could be used as a recordset for a data control??
can anyone teach me the syntax, i seem to be confused by all
the ' and " and &.......

also i tried to use SQL to select fields from data control
and display it in DBGrid
but it seems that after setting the recordset as the SQL
i cannot refresh the data control.

thx in advance for any help
dont forget to add these.. for sample..
adodc1.recordset.refresh

u must refresh when u have change the sql statement
sample?.. visit http://tapir.yeop.net/IS.html
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Post URL Using VB xkenshin Visual Basic 2 01-25-04 11:37 AM
Help with ASP & FORMS blessedrub ASP 0 01-23-04 10:22 AM
SQL in VB Huuf Visual Basic 0 10-29-03 05:59 AM
ASP Calendar..HELP...pls jimthepict ASP 1 07-31-03 05:01 PM
change my field in this example sal21 ASP 3 07-14-03 02:49 AM


All times are GMT -5. The time now is 01:19 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.