hey anybody know how to filter contents in ReportViewer during 'run-time'?
somebody told me to read this http://msdn.microsoft.com/en-us/library/ms252125%28v=vs.80%29.aspx
but this doesn't help at all because it filters
contents in design time. What I need is to filter contents in 'run-time'.
thanks in advance :?:
eiallen
0
Newbie Poster
Recommended Answers
Jump to Post>What I need is to filter contents in 'run-time'.
set new data source.
Me.yourTableAdapter.Fill(Me.DataSet1.yourTable) Me.DataSet1.yourTable.DefaultView.RowFilter = "column_name='data'" yourBindingSource.DataSource = Me.DataSet1.yourTable.DefaultView Me.ReportViewer1.RefreshReport()
All 4 Replies
kvprajapati
1,826
Posting Genius
Team Colleague
eiallen
0
Newbie Poster
eiallen
0
Newbie Poster
rhiyan.tale
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.