Reputation: 8539
I would like to have IntelliSence or code completion, and syntax highlighting for SQL queries in my own .NET application.
Is it possible to use the SQL Server Management Studio's editor similar to the way you can use the SMO APIs?
Are there open source control(s) that can be used?
I have found code completion / syntax highlighting controls, but SQL is a funny beast because of the column / table aliases.
Upvotes: 4
Views: 105
Reputation: 300499
No. It is not possible to use SQL Server Management Studio's editor in your own application.
ScintillaNET is an open-source alternative that supports MS Flavoured TSQL (and Postgre SQL) highlighting out of the box.
Upvotes: 1