TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
cmarini
NA
3
0
Selecting All Numeric Values With Query String
Apr 8 2005 10:56 AM
What seems to be a simple question that I can not find the answer to. I have a form where if the user enteres values I want to return those values , if they do not enter a value then return all. ex: area code [973] - return all (973) or area code [ ] - return all area codes however, with a numeric field specified in the Access database, it seems you can not have a string like query = "select * from tablename where areacode = *"; how would i return all for a number without doing something like "where areacode > 0 and areacode <1000"? Thanks
Reply
Answers (
1
)
SqlDataAdapter Not working with parameters from C#
sellect index in data grid and show row on label