Why are you using TextBoxes and not DateTimePickers?
A TextBox will fail in many cases. Some people use different date formats (dd-MM-yyyy where I come from). Some people have different database settings for dates, it's just not going to work.
A better approach is the following:
Dim cmd As New OleDbCommand("SELECT WhatEverYouNeed FROM MyTable Where MyDateColumn BETWEEN @Date1 AND @Date2", connection)
cmd.Parameters.Add("@Date1", DateTimePicker1.Value)
cmd.Parameters.Add("@Date2", DateTimePicker2.Value)
How to use Commands, Connections, Adapters, Readers and DataSets etc. can be found
here[
^].
Alternatively you can use an ORM such as
Entity Framework[
^] and use
LINQ[
^] to query against your database.