Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi in my project asp.net with c#(web)

emter appointmentid textbox submit
the patient enters his appointment id in the textbox on clicking of submit button ,his appointment status should be displayed in the samepage .how it is done .

ex ;like this

appointmentid:101
appointmentdate:12/12/2011
hospitallocation:hyderabad
time:9:45am
ok

thats the way i want plz tell me how to do it in code;thanks in advance
Posted
Comments
CodingLover 1-Nov-11 23:11pm    
Do you know how to handle databases with ASP.Net, like database connection handling, executing queries and so on?
satishmachineni 4-Nov-11 4:13am    
i know some three tier architecture(simple code),plus thru wizard,basically i am not computers student,but i got placed ,so iam trying max to learn,but topics here are so fasr they just tell and go..

1 solution

For this you need to use ADO.NET
if you dont know that then see this[^]

in submit button click event
connect to database
write query to retrieve the data based on value in textbox
and display it on the page
 
Share this answer
 
Comments
Amir Mahfoozi 2-Nov-11 1:20am    
+5
P.Salini 2-Nov-11 2:13am    
Thanks Amir
satishmachineni 4-Nov-11 4:11am    
it was so helpful, thanks a lot

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