Click here to Skip to main content
11,641,971 members (58,491 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C# Access Homework

I am developing one school-application. The detail is as follows:
(1) I have a database(MS ACCESS) named SCHOOL
(2) In that database, there is one table named student_det.
(3) There are 5 fields in that table which are roll_no, name, age, addr and class.
(4) Now, i want to extract data from the database depending on the selection of the roll_no of the student from the front-end
(5) I want to build this application in such a way that, suppose, programmer enter any roll_no, then it will print the details of that student, with School-name on the top (like-wise, shopping-receipts, where, shop name is written on top)

Please help in this.

Thanks and Regards

[Edit] I (CHill60) posted a solution based on the above but the comments were "
I am not having the problem in accessing database. I want to print the data on submission of one key.

I has actually posted a "solution" based on point (4) above but the OP is looking for a solution to point (5). With thanks to Maciej Los for pointing this out. I am now deleting my solution
Posted 11-Feb-13 5:23am
Edited 11-Feb-13 9:50am
(no name)102.3K
CHill60 at 11-Feb-13 15:46pm
Ah ok, from the comments my solution is inappropriate ... largely because the OP "question" was not clear. I will update the question and then delete my solution so that it goes back into the "pot". With thanks to Maciej Los for bringing this to my attention
Maciej Los at 11-Feb-13 16:16pm
Thank you CHill60 ;)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 DamithSL 245
1 Afzaal Ahmad Zeeshan 170
2 Sergey Alexandrovich Kryukov 159
3 OriginalGriff 110
4 Mika Wendelius 90
0 Mika Wendelius 460
1 DamithSL 353
2 OriginalGriff 315
3 Sergey Alexandrovich Kryukov 179
4 Afzaal Ahmad Zeeshan 169

Advertise | Privacy | Mobile
Web04 | 2.8.150731.1 | Last Updated 11 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100