11
 This pr ogram ab le to display s list of students in Datagridview. The system allows the user to search by last name, rst name and course. POST # Submitted by! Dianne "ae . $ali%a &S'T( &)* Submitted to! "s. +ristine oy -. "artine% 'TP/0 D1T1&1S2 "131$2"23T S4ST2" 5 Step *. Open the -isual Studio 56*5 or 7# 1pplication Step 5. clic8 new Pro9ect

Post4-student information app

Embed Size (px)

DESCRIPTION

bsit3-block1

Citation preview

Page 1: Post4-student information app

7/17/2019 Post4-student information app

http://slidepdf.com/reader/full/post4-student-information-app-568c6d69f33ad 1/17

 This program able to displays listof students in Datagridview. Thesystem allows the user to search

by last name, rst name and

course.

POST #

Submitte

Dianne "ae

&S'T( &

Submitted to!"s. +ristine oy -. "artine%

'TP/0 D1T1&1S2 "131

Page 2: Post4-student information app

7/17/2019 Post4-student information app

http://slidepdf.com/reader/full/post4-student-information-app-568c6d69f33ad 2/17

Step *. Open the -isual Studio 56*5 or 7# 1p

Step 5. clic8 ne

Page 3: Post4-student information app

7/17/2019 Post4-student information app

http://slidepdf.com/reader/full/post4-student-information-app-568c6d69f33ad 3/17

Step (. Select -isual 7# and then select :indows ;orm1pplication after that clic8 o8

Edit the name

Of your

project

 here

Page 4: Post4-student information app

7/17/2019 Post4-student information app

http://slidepdf.com/reader/full/post4-student-information-app-568c6d69f33ad 4/17

Select listbo<* and then right clic8 or go to properties

1nd edit the collection into ;irst 4ear, Second 4ear, Third 4ear

1nd ;ourth 4ear 9ust li8e above.

listBox1

datagridview1

button1

Step .7reate a form li8e this, drag the listbo<, button anddatagridview to the form.

Step .7reate a form li8e this, drag the listbo<, button anddatagridview to the form.

SecoEdithere

Page 5: Post4-student information app

7/17/2019 Post4-student information app

http://slidepdf.com/reader/full/post4-student-information-app-568c6d69f33ad 5/17

Step =.Select the name of your pro9ect here, then selafter that clicSelect -isual 7# 'tems then select 7lass

and

3ame the class as >D&7onnect.cs? afterthat clic8 1dd button below.

Page 6: Post4-student information app

7/17/2019 Post4-student information app

http://slidepdf.com/reader/full/post4-student-information-app-568c6d69f33ad 6/17

Step @. Select eference in solution 2<plorer and then select 1ddreference

7lic8 browse then go to

7!AProgram ;iles B<@CA"[email protected].=

'f v.= didnFt wor8 choose v5.6 or v

1fter that select the "ySGl.Data.dl

1nd "ySGl.Data.2ntity.dll

Page 7: Post4-student information app

7/17/2019 Post4-student information app

http://slidepdf.com/reader/full/post4-student-information-app-568c6d69f33ad 7/17

 Then go to the folder you downloadincluding this Power point and select the

>studentHstudents.sGl? le then o8 and7lic8 button >Start 'mport?

Click this

Page 8: Post4-student information app

7/17/2019 Post4-student information app

http://slidepdf.com/reader/full/post4-student-information-app-568c6d69f33ad 8/17

Step E. $o to Des8top and Open the "yS0 :or8benchapplication if you donIt have then try to install the

installer inside the folder of >1utomatic load database ? Then use password! admin when the installation is near

to complete, after that open the "yS0 :or8bench

application then clic8 or open the >0ocal instance? thentype the password! admin after that, go to management Then select >Data 'mport/estore? the follow the

'nstruction below.

Selectthis

Click this

Page 9: Post4-student information app

7/17/2019 Post4-student information app

http://slidepdf.com/reader/full/post4-student-information-app-568c6d69f33ad 9/17

Step . JereIs the coding portion, go bac8 to the -isual Stu1pplication and go to D&7onnect.cs and insert t

Insertthiscode

Start codinghere

Page 10: Post4-student information app

7/17/2019 Post4-student information app

http://slidepdf.com/reader/full/post4-student-information-app-568c6d69f33ad 10/17

Continue codinghere

Page 11: Post4-student information app

7/17/2019 Post4-student information app

http://slidepdf.com/reader/full/post4-student-information-app-568c6d69f33ad 11/17

Continue codinghere

Page 12: Post4-student information app

7/17/2019 Post4-student information app

http://slidepdf.com/reader/full/post4-student-information-app-568c6d69f33ad 12/17

Step K. $o to your form* or design double clic8the form and insert this code.

Insert this

Start codinghere

Page 13: Post4-student information app

7/17/2019 Post4-student information app

http://slidepdf.com/reader/full/post4-student-information-app-568c6d69f33ad 13/17

Continuecoding here

Page 14: Post4-student information app

7/17/2019 Post4-student information app

http://slidepdf.com/reader/full/post4-student-information-app-568c6d69f33ad 14/17

Continuecoding here

Page 15: Post4-student information app

7/17/2019 Post4-student information app

http://slidepdf.com/reader/full/post4-student-information-app-568c6d69f33ad 15/17

Step *6. ;= to run the program and the output isloo8 li8e this. Select an item from list&o< to search

Page 16: Post4-student information app

7/17/2019 Post4-student information app

http://slidepdf.com/reader/full/post4-student-information-app-568c6d69f33ad 16/17

eference of the program!

Thank y I hope

You learn a l

Page 17: Post4-student information app

7/17/2019 Post4-student information app

http://slidepdf.com/reader/full/post4-student-information-app-568c6d69f33ad 17/17