Пример #1
0
    public void PopulateSubjectGrid()
    {
        AbcDAL MyDAL = new AbcDAL("");

        RGSubjectGrid.DataSource = MyDAL.PopulateSubject();
        RGSubjectGrid.DataBind();
    }
Пример #2
0
    protected void RGSubjectGrid_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
    {
        AbcDAL MyDAL = new AbcDAL("");

        RGSubjectGrid.DataSource = MyDAL.PopulateSubject();
    }