Ecreations
Programmer
I am building a small web application in VS.Net 2003
the application uses an access database the SQL statement goes like this
"Select field1,field2,field3 from table where field1="&IntID
IntID is variable declared and its value assigned to it from a Querystring
When i test it i dont get any records but if i change IntID with Request.Querystring("ID") in the sql statement everything works ok.
any idea where the variable IntID should be declared and if it has to be declared as a public variable in the class.
I have moved the variable declaration in many places but still the result is the same.
I did not import any name spaces, i just left it with VS.NET default name spaces and imports
Thanks in advance
the application uses an access database the SQL statement goes like this
"Select field1,field2,field3 from table where field1="&IntID
IntID is variable declared and its value assigned to it from a Querystring
When i test it i dont get any records but if i change IntID with Request.Querystring("ID") in the sql statement everything works ok.
any idea where the variable IntID should be declared and if it has to be declared as a public variable in the class.
I have moved the variable declaration in many places but still the result is the same.
I did not import any name spaces, i just left it with VS.NET default name spaces and imports
Thanks in advance