Looks like I can just populate dropdownlist using DataView, say
TempDataView, during
my pageload and
then in the aspx file in the EditItemTemplate use something like this:
<EditItemTemplate>
<asp:DropDownList
id = "ddMajor"
runat="server"
DataSource='<%# TempDataView%>'
DataTextField="cd_major"
DataValueField="cd_major"
SelectedIndex='<%#GetMajorDesc((String)DataBinder. Eval(Container.DataItem,
"????????")) %>' />
</EditItemTemplate>
How do i set the Selected Item or index to equal the correct item for this
rows data?
Krish