
22/04/2005, 08:36
|
 | | | Fecha de Ingreso: abril-2005
Mensajes: 17
Antigüedad: 20 años Puntos: 0 | |
Buen dia
hola parece que el problema esta casi resuelto solo faltaria un pequeño detalle:
Try
If CType(dgProductos.Controls.Item(i), CheckBox).Checked Then 'En esta linea me marca el error Specified argument was out of the range of valid values. Parameter name: index
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.ArgumentOutOfRangeException: Specified argument was out of the
Dim fila As DataRow = temp.NewRow
fila(1) = dgProductos.Items(i).Cells(1).Text
fila(2) = dgProductos.Items(i).Cells(2).Text
temp.Rows.Add(fila)
End If
Catch IOExcep As System.IO.IOException
End Try
i += 1
End While
El codigo sigue estando en el boton, pero me marca error al momento de checar el Ctype de dgproductos, ya lo demas creo que no sera problema.
Saludos y muchas gracias por la ayuda al foro en especial a Jose_minglein2 por toda su ayuda. |