//查询字符串不需要单引号
string url = string.Format("DefectImp.aspx?RepairId={0}&CheckId={1}", dt.Rows[0]["RepairId"].ToString(), dt.Rows[0]["CheckId"].ToString());
this.Response.Write(" ");
查询字符串不需要单引号
string url = "DefectImp.aspx?RepairId=" + dt.Rows[0]["RepairId"].ToString() + "&CheckId="+dt.Rows[0]["CheckId"].ToString();