Re: Dropdown lists
From: Sara (anonymous_at_devdex.com)
Date: 08/19/04
- Next message: Marty: "Re: Hash table"
- Previous message: Jon Skeet [C# MVP]: "Re: Hash table"
- In reply to: Sara: "Dropdown lists"
- Next in thread: Sara: "Re: Dropdown lists"
- Reply: Sara: "Re: Dropdown lists"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 19 Aug 2004 12:33:36 -0700
Hi Brad -
Thanks.
Here is what I am doing. Yes, I do all the steps you indicate. Then on a
if not ispostback I run a routine "Populate form" that runs a stored
procedure and selects a partcular record from the Database. Let's say
that the DDL was a list of students, then for this particular record I
have the student name in the record that was retrieved. I really don't
need to shoew the DDList again on the form as I don't want them changing
this value once entered anyway. But I cannot get the student name to
display at all. Typically a simple ddlname.selectedindex.text =
strstudentname
would have done it - but this time it will not work because the DDL was
created from a DB to begin with (my guess) - In the above scenario, how
can I populate that field on data retrieval? Thanks
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
- Next message: Marty: "Re: Hash table"
- Previous message: Jon Skeet [C# MVP]: "Re: Hash table"
- In reply to: Sara: "Dropdown lists"
- Next in thread: Sara: "Re: Dropdown lists"
- Reply: Sara: "Re: Dropdown lists"
- Messages sorted by: [ date ] [ thread ]