Filter ASP.Net Repeater control without using database in C# and VB.Net

Last Reply 21 days ago By dharmendr

Posted 21 days ago

Hi, i have a few text boxes that is filled with employee information. When a button is clicked then i want all the values to show in the repeater control. I do not want to execute the command into the database I would just like it to show inside the repeater control.

Posted 21 days ago

Hi Tevin,

If you don't want to execute the command into the database then save the result as DataTable/DataSet in session or ViewState and filter the DataTable/DataSet and bind the result in Repeater.

Refer below article to filter DataTable.

Filter DataSet based on Column value using C# and VB.Net

Filter DataTable and Bind to GridView in ASP.Net using C# and VB.Net