Mark Posted August 1, 2013 at 07:38 PM Report #520626 Posted August 1, 2013 at 07:38 PM O debug pára nesta linha. Não percebo
pikax Posted August 1, 2013 at 09:46 PM Report #520640 Posted August 1, 2013 at 09:46 PM Estas a tentar converter uma string num formato incorrecto. Por muito mais que que estude só aprendo uma coisa, que ainda tenho muita coisa para aprender. A beleza de um código está em decompor problemas complexos em pequenos blocos simples. "learn how to do it manually first, then use the wizzy tool to save time." "Kill the baby, don't be afraid of starting all over again. Fail soon, learn fast."
bioshock Posted August 1, 2013 at 10:31 PM Report #520649 Posted August 1, 2013 at 10:31 PM Experimenta antes: int variavel; Int.TryParse(....getstring("..."), out variavel);
pedrohex Posted August 17, 2013 at 03:28 AM Report #521926 Posted August 17, 2013 at 03:28 AM outra alternativa à resposta do bioshock seria alterar a query para a seguinte forma : select ifnull(id,0) as id from rooms order by id desc limit 1; O erro que estás a obter é devido ao resultado da query ser nulo, (tens a tabela rooms vazia)
brunobola Posted September 9, 2013 at 11:42 PM Report #523950 Posted September 9, 2013 at 11:42 PM Penso que no teu exemplo não tens plicas mas sim caracteres ` que não são o mesmo, edita e coloca ' em vez de ` e depois tenta novamente.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now