Click here to Skip to main content
12,952,443 members (39,386 online)
Rate this:
Please Sign up or sign in to vote.
See more:

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
Updated 11-Feb-13 9:50am
CHill60 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 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
Top Experts
Last 24hrsThis month
OriginalGriff 6,289
CHill60 3,490
Maciej Los 3,103
Jochen Arndt 1,975
ppolymorphe 1,900

Advertise | Privacy | Mobile
Web02 | 2.8.170525.1 | Last Updated 11 Feb 2013
Copyright © CodeProject, 1999-2017
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