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 :?:
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
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.