예제 #1
0
    private void Refresh()
    {
        CreateDataSet();
        DataView dataView = new DataView(dataSet.Tables["Roster"]);

        RosterGridView.DataSource = dataView;
        RosterGridView.DataBind();
    }
예제 #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         CreateDataSet();
         RosterGridView.DataSource = RosterSource;
         RosterGridView.DataBind();
     }
 }