This is a migrated thread and some comments may be shown as answers.

[Solved] Select Query

1 Answer 101 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tony
Top achievements
Rank 1
Tony asked on 31 May 2008, 09:40 PM
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 to select the record(s) that I want to bind to the radgrid.   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

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 02 Jun 2008, 05:25 AM
Hi Tony,

Go through the following help articles.

Simple Data-binding
Advanced Databinding (using NeedDataSource event)

Shinu.
Tags
Grid
Asked by
Tony
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or