hi all,
im working with an access db,and im creating the adapter,connection,etc in code.
I have generated everythibg ok, and can load my data into a datagrid no problem.
ive made a change to my select statement in code now.
Id like to only load the data from the database that matches a certan date that i pick at runtime
When the user selects the date,i create the adapter,connection,etc and load in the data.
eg -
"Select * from tbl where date = " txt_date.text
I even tried just typing in a date like
"Select * from tbl where date = 19/06/03"
and it doesnt load any data either??
I dont get any errors,it justs doesnt show me any data.
any ideas ??
im working with an access db,and im creating the adapter,connection,etc in code.
I have generated everythibg ok, and can load my data into a datagrid no problem.
ive made a change to my select statement in code now.
Id like to only load the data from the database that matches a certan date that i pick at runtime
When the user selects the date,i create the adapter,connection,etc and load in the data.
eg -
"Select * from tbl where date = " txt_date.text
I even tried just typing in a date like
"Select * from tbl where date = 19/06/03"
and it doesnt load any data either??
I dont get any errors,it justs doesnt show me any data.
any ideas ??