Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Sat, 31 May 2008 14:33:03 -0700,    group: microsoft.public.dotnet.languages.vb.data        back       


Using the value of a textbox in the select query string   
Hi,

  Since I am using MS Access 2007, I cannot use the AccessDataSource control 
(It won't recognize 2007 databases—Odd!), so I have to write the data 
connection.  I can't find any help with writing  the  select command (I think 
it should be like this:  "SELECT [ScheduledDay], [Date], [Campus], [Room], 
[Seats] FROM [Schedule1] WHERE ([SessionID] = ?)"  However, I am not sure how 
to bind the query to a textbox.  Can anyone explain to me the coding for 
Visual Basic?  I am assuming that I have to set up some parameter command, 
but I can't find any examples that I can learn from.

Thanks,
Anthony
date: Sat, 31 May 2008 14:33:03 -0700   author:   Anthony

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us