Im only newbie in VB.net i have a code here for my search FORM from my datetimepicker i just wanna add MIN and MAX of mileage WHERE VehicleNo = '2173 Hi Ace' from my code below and the min of milage will be put in textbox1 and the max of mileage will be put in textbox2 can anyone help of my problem
VB.NET:
[FONT=Consolas][SIZE=2][COLOR=#008000][FONT=Consolas][SIZE=2][COLOR=#008000][FONT=Consolas][SIZE=2][COLOR=#008000] Me.ExpenditureBindingSource.Filter = (String.Format("Date >= #{0:M/dd/yyyy}# AND Date <= #{1:M/dd/yyyy}#", DateTimePicker1.Value, DateTimePicker2.Value))
[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT]