1. Se debe usar el formato correcto para insertar un código.
2. Los títulos del tema deben ser descriptivos.
Tengo el siguiente codigo...
Código
<asp:SqlDataSource ID="Usuarios"runat="server" ConnectionString="Data Source=|DataDirectory|\DB.mdf" ProviderName="System.Data.SqlServerCe.4.0" SelectCommand="SELECT [id],[Nombre],[apellido],[username] FROM [Usuarios]"> </asp:SqlDataSource>
el error que me tira es el siguiente:
Código:
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: The server tag is not well formed.
Source Error:
Line 4: <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
Line 5:
Line 6: <asp:SqlDataSource ID="Usuarios"runat="server"
Line 7: ConnectionString="Data Source=|DataDirectory|\DB.mdf"
Line 8: ProviderName="System.Data.SqlServerCe.4.0"
Source File: /app/usuarios.aspx Line: 6