Set value in gridview for dropdownlist template. Asp.Net
I have problem with DropDownList template in Grid View, after I go in edit mode drop down have to be selected by current item instead of default value.

    <asp:TemplateField HeaderText="Tour Type">
        <EditItemTemplate>
            <asp:DropDownList AppendDataBoundItems="true" DataSourceID="dropDownListSqlDataSource" runat="server" DataValueField="idTypetour" DataTextField="title"></asp:DropDownList>
        </EditItemTemplate>
        <ItemTemplate>
            <%#Eval("typeTitle")%>
        </ItemTemplate>
    </asp:TemplateField>

I tried to use SelectedValue="<%#Eval("typeTitle")%>", but has no results.
Set value in gridview for dropdownlist template. Asp.Net
===

I have problem with DropDownList template in Grid View, after I go in edit mode drop down have to be selected by current item instead of default value.

    <asp:TemplateField HeaderText="Tour Type">
        <EditItemTemplate>
            <asp:DropDownList AppendDataBoundItems="true" DataSourceID="dropDownListSqlDataSource" runat="server" DataValueField="idTypetour" DataTextField="title"></asp:DropDownList>
        </EditItemTemplate>
        <ItemTemplate>
            <%#Eval("typeTitle")%>
        </ItemTemplate>
    </asp:TemplateField>

I tried to use SelectedValue="<%#Eval("typeTitle")%>", but has no results.