Rajkumar R

Rajkumar R

  • NA
  • 183
  • 220.1k

How to bind the value for dropdownlist in Template Field

Dec 6 2011 6:33 AM
I have ttried the below code but i m getting error
            <asp:TemplateField HeaderText="PipNo.">
                <ItemTemplate>
                    <asp:DropDownList ID="pipddl" value='<%#Bind("PIP_NO") %>' DataValueField='<%#Bind("PIP_NO") %>' runat="server"></asp:DropDownList>
                </ItemTemplate>
            </asp:TemplateField>
post solution for this 
thanks in advance

Answers (3)