Hello,
I have an access database and have a simple query in which i have 1 parameter.
I want to run this query in vb.net and display the results in a datagrid or anything but in vb.net.
I'm able to run the query but wht should i do to display the results of the query.
the code i m using now is:
Dim accApp As Object
accApp = GetObject("c:\m ydb.mdb")
'this will run the query in the database
accApp.docmd.Op enQuery("myQuer y")
accApp.Run("myQ uery")
I have an access database and have a simple query in which i have 1 parameter.
I want to run this query in vb.net and display the results in a datagrid or anything but in vb.net.
I'm able to run the query but wht should i do to display the results of the query.
the code i m using now is:
Dim accApp As Object
accApp = GetObject("c:\m ydb.mdb")
'this will run the query in the database
accApp.docmd.Op enQuery("myQuer y")
accApp.Run("myQ uery")
Comment