Hi all
I have a question regarding VB and SQL. I think, and i hope, that it is a simple task, but i just cant get it to work!
I have created a DB in SQL Server, nothing too fancy, just a table and a query for now, and i want to use these in VB. I have managed to accss the table and present the data on the grid, but i just cant get the query to work! i have saved it as a ".sql" file using the query analyser of SQL Server.
the data will also been updated from VB, so a static table will not do the work. Is there a way to enter the SQL code directly in the VB applications, or i have to create a query and access it with VB?
Could anyone pls help me on this one? thanks
I have a question regarding VB and SQL. I think, and i hope, that it is a simple task, but i just cant get it to work!
I have created a DB in SQL Server, nothing too fancy, just a table and a query for now, and i want to use these in VB. I have managed to accss the table and present the data on the grid, but i just cant get the query to work! i have saved it as a ".sql" file using the query analyser of SQL Server.
the data will also been updated from VB, so a static table will not do the work. Is there a way to enter the SQL code directly in the VB applications, or i have to create a query and access it with VB?
Could anyone pls help me on this one? thanks