You should post more code.
But from the code given the problem could be that
"<%=pro_id%>" means "write out the value of a local variable.
Since this variable is passed from a previous page, it most likely should be
"Request.QueryString("pro_id")"
or
"Request.Form("pro_id")"