I have an issue with trying to get a SqlDataSource working. here is the ASP.net code:
<asp:SqlDataSource id="SqlDataSource2" runat="server"
ConnectionString="<%$ ConnectionStrings:connection %>"
SelectCommand="SELECT [term] [FROM[Ceremony]] order by term">
</asp:SqlDataSource>
The exception Detail is: System.Data.SqlClient.SqlException: unclosed quotation mark after the character string 'FROM [Ceremony] order by term'
I just don't really know what is wrong with the asp.net code? my C# code is working, and the SQL server is up and running. I go into the SQL tool to test out the select command and it works! If anyone can point out any issues of this code that would be great!
p.s. the connection string works fine also.