public void TopicTypeDataGrid_PageIndexChanged(object source, DataGridPageChangedEventArgs e) { TopicTypeDataGrid.LoadCurrentPageIndex(e.NewPageIndex); BindTopicType(); DataGridBind(""); this.TabControl1.SelectedIndex = 4; }
private void BindTopicType() { #region 主题分类绑定 TopicTypeDataGrid.BindData(TopicTypes.GetTopicTypes()); TopicTypeDataGrid.TableHeaderName = "当前版块: " + forumInfo.Name; #endregion }