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
sandeep kodepaka
NA
106
210.2k
Selecting mutiple rows in Gridview using text box (find button)
Mar 9 2012 4:48 AM
Dear All
I had developed an application which consists of one Textbox and a gridview, whenever i search rows in gridview i may able to search only single row at once , but my intension is if i search for second row in the textbox the first row should be checked .
Below is my search code :
if(txtsearch.text!="")
{
Empcode=txtsearch.text;
da=new sqladapter("select Empcode,Name FROM Employee where empcode='" + empcode + "' OR Name LIKE '" + empcode + "'+'%' order by empcode", conn);
da.Fill(ds);
Gridview.DataSource = ds;
Gridview.DataBind();
}
thanks in advance
Regards
Sandeep Kodepaka
Reply
Answers (
2
)
Merit list calculation
Purpose of Interface