johncassell
Well-known member
Hi there,
Was hoping someone could help me out with this problem please.
I have a tableadapter which loads information based on my criteria
This works fine if I enter a value in my 'rptcustomercodefilter' textbox. But if I don't enter a value I would like it to display all information. At the moment it just displays nothing.
How can I achieve this please?
Thanks
John
Was hoping someone could help me out with this problem please.
I have a tableadapter which loads information based on my criteria
VB.NET:
Me.CustomersTableAdapter.FillBy(Me.RedcarWorkshopDataSet.Customers, rptcustomercodefilter.Text)
This works fine if I enter a value in my 'rptcustomercodefilter' textbox. But if I don't enter a value I would like it to display all information. At the moment it just displays nothing.
How can I achieve this please?
Thanks
John