Proprio sulla riga incriminata mi dice:
Specified cast is not valid.
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.InvalidCastException: Specified cast is not valid.
---
Io l'ho scritta così:
codice:
<%#StrTesto((string)DataBinder.Eval(Container.DataItem, "categoria"), (string)DataBinder.Eval(Container.DataItem, "idcategoria"))%>
(ho aggiuntouna parentesi finale)
Sonia
Dove si trova l'esempio di dino esposito?