G
Guest
I am using VS 2005 and a MS Access 2003 DB. In VS I use the server explorer
to drag and drop tables and existing queries into the dataset designer
window. I am having several problems.
1. In the Server Explorer tables are under the Tables folder but queries are
under the Views folder or if they have parameters they will be under the
Functions folder but never under the Stored Procedures folder. How does the
Server explorer classify MS Access queries?
2. For queries (i.e. "Views" or "Functions") in the dataset designer
whenever I use the "TableAdapter Configuration WIzard" Stored Procedures is
grayed out and only the "Use SQL option is available". How can I make those
other options available?
3. The main problem is queries which already exist in my database. I
cannot seem to fill the DataTableAdapter with any data. There are no errors
but no data either. I tried the same query inside MS Access and it does
return data. The datatable adapter for my tables works fine. I did use the
dataset properties window for the query to change the command type to "stored
procedure" but it still cannot retrieve any data. Why?
By the way if I manually code a non-typed dataset for a "stored procedure"
it works fine.
to drag and drop tables and existing queries into the dataset designer
window. I am having several problems.
1. In the Server Explorer tables are under the Tables folder but queries are
under the Views folder or if they have parameters they will be under the
Functions folder but never under the Stored Procedures folder. How does the
Server explorer classify MS Access queries?
2. For queries (i.e. "Views" or "Functions") in the dataset designer
whenever I use the "TableAdapter Configuration WIzard" Stored Procedures is
grayed out and only the "Use SQL option is available". How can I make those
other options available?
3. The main problem is queries which already exist in my database. I
cannot seem to fill the DataTableAdapter with any data. There are no errors
but no data either. I tried the same query inside MS Access and it does
return data. The datatable adapter for my tables works fine. I did use the
dataset properties window for the query to change the command type to "stored
procedure" but it still cannot retrieve any data. Why?
By the way if I manually code a non-typed dataset for a "stored procedure"
it works fine.