Live Chat Icon For mobile
Live Chat Icon

How to filter the data in the DataView and display it in some DataControl

Platform: ASP.NET| Category: ADO.NET

VB.NET


Dim thefilter  as string = 'fieldname=’’ '
dbDataView.RowFilter = thefilter			
Repeater1.DataSource = dbDataView
Repeater.DataBind()

C#


string thefilter = 'fieldname=’’ ';
dbDataView.RowFilter = thefilter;				
Repeater1.DataSource = dbDataView;
Repeater.DataBind();

Share with

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.