Enrollment Process

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

Enrollment

>> Search Name|| Id


>> IF !null then
DataTable dt = new DataTable()
dt.Columns.Add("StudentId");
dt.Columns.Add("GradeLevel");
dt.Columns.Add("AcademicYear");
Querying Grade1
//Disaplay Data
IF StudentId == !null
dt.Rows.Add(new object[] {"00001","Grade 1","2016-2017"});
ELSE
>>Leave Blank.
Querying Grade2
//Display Data
IF StudentId == !null
dt.Rows.Add(new object[] {"00001","Grade 2","2017-2018"});
ELSE
>>Leave Blank.
. . . . .
. . . . .
DatagridView dg = new DataGridView()
dg.Datasource = dt;
dg.DataBind();
>> ESLE
Register new account.
StudentId | GradeLevel | AdemicYear |
-------------------------------------00001
| Grade 1
| 2016-2017 |
-------------------------------------00001
| Grade 2
| 2017-2018 |
-------------------------------------------------------------------------->>

You might also like