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
Sagar
NA
95
25k
asp.net Gridview not Binding
Dec 16 2014 12:05 AM
well i need an urgent help, i m binding a gridview with cache, & after this i need to search data through check boxes selection
pageload -
grvCollSearch.DataSource = (DataTable)Cache["lst1"];
grvCollSearch.DataBind();
wat happening is wen i select a check box i m filtering rows like
if(checked)
{
dt = (DataTable)Cache["lst1"];
dv.RowFilter = "GrandTotal < 300000";
grvCollSearch.DataSource = null;
grvCollSearch.DataSource = dv;
grvCollSearch.DataBind();
}
else
{
dt = (DataTable)Cache["lst1"];
lblTotalCount.Text = dt.Rows.Count.ToString();
grvCollSearch.DataSource = dt;
grvCollSearch.DataBind();
}
but wen else part runs gridview is not binding it is showing previous result,why???????
Reply
Answers (
2
)
send mails
how to save and update a record using the same view