帮帮忙 我用 convert.into32也转不了纠结 - -#
“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------
输入字符串的格式不正确。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.FormatException: 输入字符串的格式不正确。
源错误:
行 28: if (Request.QueryString["CP_ID"] != null)
行 29: {
行 30: int altid = int.Parse(Request.QueryString["CP_ID"].ToString());
行 31: DataList1.DataSource = ncManager.GetCPALL(altid);
行 32: DataList1.DataBind();
我前面传值是 这么写的 protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
Response.Redirect("Details.aspx?CP_ID=");
}
本人菜鸟哪位大神帮帮我