Click to See Complete Forum and Search --> : how to add gui features in the database project programmed in cpp and ado?


leeza
June 16th, 2005, 09:47 AM
my project is student info database having 4 tables
i-student: in which fields are name seat no(PR. Key) address phone etc
ii-course: fields are course id, name
iii- dept : name and its id(PK)
iv- faculty: teacher name, T id, dept id,add , ph # etc

now i want add some GUI features in it using MFC or SDK.
i am a beginner and i have read a lot of stuff AND did a lot of srch but couldn't understand.
give me some hints i have vc6 version
plz help
i have less time and have to complete it .
its urgent
waiting for reply

panayotisk
June 18th, 2005, 01:00 AM
You need to somehow connect the application to the database. One way as you indicate in your subject title is ADO. Another one is ODBC.
See this site articles and in codeproject.com for how to use ADO. In the articles there should be some interesting samples. Also see articles in MSDN such as:
http://support.microsoft.com/default.aspx?scid=kb;en-us;169496
Also which DB do you use?

leeza
June 19th, 2005, 02:34 PM
thank for ur reply


i am using MSaccess 97

panayotisk
June 20th, 2005, 11:27 AM
In that case I think Access does not support stored procedures. I guess you will have to write the SQL code inside the application. So, do not see the examples on stored procedures...

leeza
June 22nd, 2005, 04:45 AM
what do u mean by stored procedures?

panayotisk
June 22nd, 2005, 05:02 AM
A small overview:
http://www.paladn.com/sql-server-stored-procedures.htm
But do not worry about it.