本帖最后由 tethae86 于 2014-08-19 18:30:30 编辑

解决方案 »

  1.   

    下面内容不是解决问题,但看到一个函数,依Insus.NET的想法,觉得:
    修改了一下:
    没有测试过,还有待检验。
      

  2.   

    修改了一下,试试        protected void Page_Load(object sender, EventArgs e)
            {
                if(!IsPostBack){
                    int id = Request.QueryString["id"]==null? 0 : int.Parse(Request.QueryString["id"]);
                    string sqlstr = "select id,title,article from ArticleFunction where id = " + id;
                    DataTable dt = db.reDt(sqlstr);
                    fin = dt.Rows[0]["title"].ToString();
                    finceall = dt.Rows[0]["article"].ToString();
                }
            }
      

  3.   

    Request.QueryString["id"]为空了!你把鼠标移到上面去,看看id有没有值