Question: CIST 2 3 4 2 C# Programming II LAB HS ( 6 0 Points ) DB Access In this Lab we are going to access
CIST
C# Programming II
LAB HS Points
DB Access
In this Lab we are going to access a Database.
The database has tables that we are
interested in: the Instructor Trable and the
Shident Table, the Course Table and the
Section Table.
Part
Inpur Course from Datmbase and
Diptay AyxixCD: Add anew Function to
your Conseclass, Call this function
seleciDEint cid This function will take only
one argument. This argument will be the
ConseID. In the function you are to use this
ConseID to search the database for the other
information about this Course, fike
coursename, cte. To test this out, use the
Course Button on your form Object. Change
the code behind the Course bution. See code
below:
To Selcets
Course c;
cnew Course:
cselectDBCIST ;
cdisplay:
II you should see data from the database
for Course "CIST
Invur Sections from the Dotobase and
your Section class. Call this function
seleciDEint cm
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
