for the filtering following options are available:
filter datatable activity
datatableVar.Select method
A linq statement
Example: dtData.Select(String.Format("Convert(No,'System.Int32') >= {0} And [No] <={1} ",Min,Max))
Min, Max are variables with the corresponding borders as Integer32
Convert(No,βSystem.Int32β) force the conversion of col value into an integer
[No] <= is a short form for defining a filterexpression for a column
String.Format allows us to create a string with the injection of variables
Thank you very much, that was a great explanation!
The only issue is that im still stuck on how to link the option of the minimum and maximum (e.g.51-100) amount to this process, since it can change depending on what is selected.
Does this mean that i have to do the same for all the options on the list below?