MySQL Forums
Forum List  »  MySQL for Visual Studio

Re: Visual Studio Mysql Syntax error
Posted by: Francisco Alberto Tirado Zavala
Date: March 10, 2015 10:13AM

Hello deli mavii.

Currently MySql has no a custom DataSource control, but you can use the SqlDataSource control that is provided by MS.

To avoid the syntax error in the "Configure Select Statement" dialog select the option "Specify a custom SQL statement or stored procedure" rather than "Specify columns from a table or view". With this option you can specify the query without having invalid characters or syntax for a MySQL query.
So you can write your own query or copy the query generated in the "Configure Select Statement" and then paste it in the next window choosing the option "Specify a custom SQL statement or stored procedure" and removing the braces "[]" or any invalid character.

Thanks for your time.

*** My opinions do not necessarily reflect the opinions of my employeer ***
MySql Windows Experience Team

Options: ReplyQuote


Subject
Views
Written By
Posted
1529
February 25, 2015 06:06AM
Re: Visual Studio Mysql Syntax error
1256
March 10, 2015 10:13AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.