T
Tim Sprout
I want button1_Click on Form1 to send a query using the textBox1.Text string
as part of the query. I want to populate a dataGridView from an Access
database file. I am trying to build a search box with the textBox1. How do I
pass the textBox1.Text string to the query? The query string below gives me
one blank row:
string strOleDb = "Select * from ProjectTable WHERE (ProjectName LIKE
'textBox1.Text')";
-Tim Sprout
as part of the query. I want to populate a dataGridView from an Access
database file. I am trying to build a search box with the textBox1. How do I
pass the textBox1.Text string to the query? The query string below gives me
one blank row:
string strOleDb = "Select * from ProjectTable WHERE (ProjectName LIKE
'textBox1.Text')";
-Tim Sprout