Specifying a DataBound DropDownList in the EditItemTemplate with a Properly Set SelectedIndex

We are getting even closer to our end goal! Now the DropDownList's default value corresponds to the value of the row being edited! Compare this to the output of the previous example.

 FAQ IDCategoryFAQ Question
foo2 Strings How do you convert a string to all uppercase or all lowercase?
foo12 Email How can I display line breaks in an email message?
foo14 Email Can I send emails without using CDONTS?
foo15 Strings How can I determine the length of a string (how many characters are in a string)?
foo17 Strings How can I find the position of a certain character (or substring) within a string?
foo19 Dates and Times How can I return the current date/time?
foo20 Functions and Subroutines What is recursion?
foo23 FileSystemObject What, exactly, is the FileSystemObject?
foo25 Email How can I send an email using CDONTS?
foo8 Databases, General How do you create a database table through a SQL statement (via an ASP page, perhaps)?
foo16 Dates and Times Using VBScript, how can I determine if a variable is a valid date or not?
foo18 Dates and Times How can I easily display a nicely formatted date variable?
foo24 FileSystemObject How can I read the contents of a text file through an ASP page?
foo7 Arrays How do I dynamically resize an array?
foo11 Email How can I have my ASP page send HTML-formatted email?
foo10 Databases, General How can I tell what version of ADO I am using?
foo13 Email How do you send email attachments through an ASP page?
foo21 Arrays How can I determine the upper or lower bounds of an array?
foo22 Email How can I validate an email adress using Jscript?