private void Refresh() { CreateDataSet(); DataView dataView = new DataView(dataSet.Tables["Roster"]); RosterGridView.DataSource = dataView; RosterGridView.DataBind(); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { CreateDataSet(); RosterGridView.DataSource = RosterSource; RosterGridView.DataBind(); } }