Ver Mensaje Individual
  #22 (permalink)  
Antiguo 01/03/2005, 13:30
Avatar de Sayra
Sayra
 
Fecha de Ingreso: diciembre-2004
Mensajes: 365
Antigüedad: 20 años, 3 meses
Puntos: 1
Me esta generando unos errores mas extrños es como si fuera incompatible el nobre que tiene los item del checkboxlist con los que viene de la base de datos
vean por ustedes mismos

Checkboslist item agencia

El nombre de columna 'Agencia' no es válido.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: El nombre de columna 'Agencia' no es válido.

Line 110: MyCommand.Fill(ds, "Agencia")

Checkboslist item Cajero_Automatico

El nombre de columna 'Cajeros_automáticos' no es válido.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: El nombre de columna 'Cajeros_automáticos' no es válido.

Line 110: MyCommand.Fill(ds, "Agencia")



Checkboslist item Agencias con Estacionamiento

Línea 1: sintaxis incorrecta cerca de 'con'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Línea 1: sintaxis incorrecta cerca de 'con'.

Source Error:



Line 110: MyCommand.Fill(ds, "Agencia")






Checkboslist item Autobanco
El nombre de columna 'si' no es válido.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: El nombre de columna 'si' no es válido.

Source Error:

Line 110: MyCommand.Fill(ds, "Agencia")

Checkboslist item Taquilla Externa

Línea 1: sintaxis incorrecta cerca de 'externa'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Línea 1: sintaxis incorrecta cerca de 'externa'.

Source Error:

Line 110: MyCommand.Fill(ds, "Agencia")




El codigo de los checkboxlist

<asp:checkboxlist id="Check1" runat="server" repeatcolumns="3">
<asp:ListItem>Agencia</asp:ListItem>
<asp:ListItem>Cajeros_autom&aacute;ticos</asp:ListItem>
<asp:ListItem>Agencia con estacionamiento</asp:ListItem>
<asp:ListItem>Autobanco</asp:ListItem>
<asp:ListItem>Taquilla externa</asp:ListItem>
</asp:checkboxlist>