PDA

View Full Version : The server tag is not well formed


MattNolan
10-05-2009, 09:11 PM
I get this error on this code

Line 76: <asp:SqlDataSource ID="MyDataSource1" runat="server"
Line 77: ConnectionString="Provider=MySQLProv; Data Source=(the database); Initial Catalog=name; User ID=name; Password=abc123;"
Line 78: ProviderName="System.Data.SqlClient"

The following end of block code is

SelectCommand="SELECT * from players"

</asp:SqlDataSource>


I don't know what it could be, I've tried taking teh quotes out, changing them to single quotes, but I'm lost

MattNolan
10-05-2009, 10:04 PM
Solved, forgot a >