By only seeing the one line of code I can only guess as to what is
happening.  I believe what you're wanting to do is to databind to the
combo box.  Hopefully this link will help.

http://msdn.microsoft.com/en-us/library/aa984341(VS.71).aspx

On Mar 26, 12:35 am, Haitch <[email protected]> wrote:
> I'm developing a project which is PSI (Patient Information System) and
> in the appointment form There is two Panels
> 1- Patient Major Information. PID, NAME, GENDER..... etc...
> 2- Appointments Details. Date of App, Reason for App, Best Time to
> Remind the Patient.... etc...
>
> hence in the major patient info I put a COMBOBOX to Retrieve the Dates
> from ( Patient Visit TABLE ) using ADO.NET.... that the Patient has
> already visited the Clinic... b'coz a Patient can visit the clinic as
> much as his treatment needed for....
>
> but when I tried it's just displaying only one DATE ....... here is
> the way I did so for the ComboBox...
>
> ComboBox_VisitDate.Items.Add(dr[Visit_Dates] + " ");
>
> and according to the selected date it should display the ( Patient
> Last Treatments ) and also ( Info about his disease )... and I did it
> with the SELECTEDINDEX of the ComboBox but it's only displaying one
> date...........
>
> Please can you guys help me to display all the visited dates of the
> Selected Patients ID....... I 'ld be very great full.... thank you
> even if yu tried so....
>
> H

Reply via email to