The SQL statements are located in the database, not in the code or in the Visual Studio project. So, changing the statements in the database should do it.
How can I edit a TableAdapter's stored procedure?
-
23-03-2022 - |
Pergunta
Using Visual Studio 2012 I have created a TableAdapter
and a corresponding stored procedure which can be accessed via GetData()
. This was done using the graphical query generator. This works fine but I need to change the query.
Now, this might sound somewhat boring to you but how can I edit this stored procedure for the GetData()
query? I cannot find a way to open the graphical query generator.
I have found the following description from Microsoft and it says: "The TableAdapter Configuration Wizard opens, ready for you to modify the query or stored procedure that fills the TableAdapter's associated data table."
http://msdn.microsoft.com/en-us/library/ms171902.aspx
I followed the steps but it doesn't allow editing the select statements etc. itself.
Solução