okay ppl.i hav this database which is about patients.i want to select a DoctorINCharge from dropdownlist to display only selected data of patients under that doctor and display into datgrid.how do i do that???thanks
1. Set your ddl's autopostback property to True
2. On the ddl's SelectedIndexChanged event, have code that will do a lookup based on the doctor's ID (assuming you have it set up so that the doctor's have an ID, and its a foreign key to the patient's table) and fill the datagrid.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.