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
umair mohsin
1.4k
387
65.9k
need select query
Feb 16 2015 12:45 AM
i need select query for my data base. suppose i have 100 records in my database and i want to search records with a or b.
or any any other character.selection is done by textboxes i am writing this code
select * from student_table where name ="@name"
cmd.parameters.addwithvalue("@name",txtname.text);
now if i press
s
then records starts with
s
sholud display but not those records in which s is not the first word e.g.
sahil
siddharth
siddhu
rajesh
suraj
bhansali
rishab,james,kailash
suresh
i need a query to display records like sahil,siddhu,suraj ,siddharth,suresh not the other ones.
Reply
Answers (
8
)
Jquery Validation with asp.net master page??
To share Membership and Master page in all app of a portal