jonson1126
各种问题 各种方法 各种解决 路要自己走一遍才知个中滋味
        SqlDataSource1.DataBind();
        GridView1.DataBind();
        int rcount = this.GridView1.Rows.Count;
        this.TextBox.Text = Convert.ToString(rcount);

数据需要重新绑定,此即类似刷新效果。

posted on 2012-11-29 20:19  jonson1126  阅读(174)  评论(0编辑  收藏  举报