Doru,
>I can see I get the right value, but, of course I can't use it, because it is a string, and I need an integer.
You can use Int32.Parse() method to parse the string you have into an integer value.
>The next problem is that for editing I'd like to go to another page, and I tried, in the same method:
>
Response.Redirect("EditAccount.aspx?idToEdit=" + Convert.ToInt16(Label1.Text.ToString());
>
>It doesn't take me to that page.
>
You have a string and then you convert it into an integer and again to a string. Why not use the string directly?
Response.Redirect("EditAccount.aspx?idToEdit=" + Label1.Text);
Regards,
Eugênio