Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
hi. can you help me my brother?
i have an access database. with these fields for each record: id, name, age, sex.
for example my database file has these records:
1 ehsan, 23, male
2 mohamad, 50, male
3 ghazal, 25, female
i want to show the names in a list like this:
• ehsan
• mohamad
• ghazal
and when the user click on each name, another page open (in the same window) and show details of selected name like this:
• ehsan
• 23
• male
Please help me, i have too much search these days, but i cant write a good code for this.
Posted
Comments
R. Giskard Reventlov 10-Jul-11 4:07am    
You need to to tell us what you've already tried and how far you got on your own before asking for help.
OriginalGriff 10-Jul-11 4:17am    
When it is suggested that you give us more information, that doesn't mean "please post exactly the same question again". It means that we need to know more about what you already have before we can help you.
Use the "Improve question" widget to edit your question and provide better information.
I have deleted the "spare" question.

You will get help from here & this is smart approach(Popup Instead Of New Page).
Or you can try using same page this is also good, but using another page and a back link/button is not a good one.
:) Enjoy.
 
Share this answer
 
v3
Comments
Rubaba 10-Jul-11 6:54am    
good advice,my 5+.
Monjurul Habib 10-Jul-11 12:03pm    
thank you Rubaba :)
You may use Gridview control with Detailsview or Formview. Looks like you didn't try with right keywords in search engines. I found this in CP. GridView-DetailsView (Master/Detail) Control[^]
 
Share this answer
 
Comments
Monjurul Habib 10-Jul-11 5:24am    
nice link, my 5.
Espen Harlinn 10-Jul-11 7:16am    
Probably just what OP needs - a not too complicated approach :)
Monjurul Habib 10-Jul-11 12:06pm    
yup you are right. but i just wanted to guide for usability. :)..anyway raja's link is appropriate for the question..

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900