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
omkar jante
NA
8
0
update gridview on keypress in textbox
Jan 18 2010 2:02 AM
hi friends...
i want to update the gridview on textchange in textbox....
if i press "a" the gridview should filled up with record starting with "a". i have some code
SqlDataSource1.SelectCommand = "select * from DeptMaster where DeptName like '" + TextBox1.Text + "%'";
SqlDataSource1.SelectCommandType = SqlDataSourceCommandType.Text;
GridView1.DataSource = SqlDataSource1;
GridView1.DataBind();
its working while leaving the textbox but i want this code should execute on keypress event....
please check this site for example www.way2sms.com on the right u will see the quick contact search .... i want to do the same.....
please reply me soon....
Reply
Answers (
1
)
Reading data from a textbox in a gridview ro which was added dynamically
How can i create Right to left menu in asp.net from menu in toolbox