in .net how to show enquiry page

Sep 12 2014 6:52 AM
in asp.net how to get data from database and show in webpage.i had some data in database that data i need to show on my enquiry web page how that
if suppose   to be i selected id of that page(one field), i will need to show all data in remaining fields which i had in database
like inquiry we select   one field it need to show remaining fields of that colum.its using sql database
please help me