private void ViewAnnounce() { string strCate = CateParentIDArray(0); NewsGroupBSO newsGroupBSO = new NewsGroupBSO(); DataTable table = newsGroupBSO.GetNewsGroupByCateIsHomeAll(10, strCate, "1", 5); GridView1.DataSource = table; GridView1.DataBind(); }