Hi guys, I need a quick help. I´m trying to insert a int value but, comething went wrong ... I´m receiving this message:
System.Data.SqlClient.SqlException: Conversion failed when converting the varchar value '@id_categoria' to data type int.
Code goes above:
Many thanks.
Loading
edu de souzaPosted Aug 13, 2008, 10:45 AM
edu de souzaPosted Aug 13, 2008, 10:45 AM
edu de souzaPosted Aug 13, 2008, 10:45 AM
Niradhip ChakrabortyPosted Aug 12, 2008, 7:10 PM
Please convert the id_categoria.Text.ToString() to
Convert.ToInt32( id_categoria.Text);