Saturday, November 29, 2014

Like in Dataset Parameter

Hi guys, I want to do a search having "Like" so they can search even the first letter of what they want, I'm using a Report Viewer and I have a data set and added the table, I added a parameter from the properties and have made a report using the report viewer. here's the code.



this.ScheduleTableAdapter.Fill(this.DataSet1.Schedule, tbSearch.Text);
this.reportViewer1.RefreshReport();

tbSearch is the textbox where they input the data they want to search.


TIA.


No comments:

Post a Comment