C
Channa
I have a datagrid that is bound to an MSDataSetGenerator
that is then bound to an access database though a
OleDbDataAdapter and an OleDbConnection. I am able to
open the form and its datagrid with no problem. My
question is no I want the underlaying sql statement to be
able to be based on a variable. In other words my sql
statement is: select * from tblCustomers where CustKey =
1. I would like to set up a interager variable intI and
have a statment like: select * from tblCustomers where
CustKey = intI.
Does anyone know how to do this - with examples please.
Thanks!
Channa
that is then bound to an access database though a
OleDbDataAdapter and an OleDbConnection. I am able to
open the form and its datagrid with no problem. My
question is no I want the underlaying sql statement to be
able to be based on a variable. In other words my sql
statement is: select * from tblCustomers where CustKey =
1. I would like to set up a interager variable intI and
have a statment like: select * from tblCustomers where
CustKey = intI.
Does anyone know how to do this - with examples please.
Thanks!
Channa