Perhaps you want to convert the string itself, not the whole text box?
Change:
v_mem_id = Convert.ToInt32(TextBox5.ToString());
To:
v_mem_id = Convert.ToInt32(TextBox5.Text.ToString());
"I get the same error.."
Try this instead:
string s = Request.QueryString["t1"];
TextBox5.Text = s;
v_mem_id = Convert.ToInt32(s);
Bear in mind this is the Page Load event, and the textbox probably hasn't been fully initialised yet.