<asp:TemplateField HeaderText="Professional Role"> <itemtemplate> <asp:DropDownList runat="server" ID="ddlProfRole" width="87%" DataValueField="ProfRoleCode" DataSourceID="SqlDataSource2" DataTextField="ProfRoleDescription"> </itemtemplate> <itemstyle horizontalalign="Center" width="25%" /> <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ConnectionStrings:MPP%>" SelectCommand="select ProfRoleCode,ProfRoleDescription,Designcode,DeptID from mppProfRoleMapping order by ProfRoleCode">
AppendDataBoundItems
<asp:dropdownlist runat="server" id="ddlProfRole" width="87%" datavaluefield="ProfRoleCode" datasourceid="SqlDataSource2" datatextfield="ProfRoleDescription" appenddatabounditems="true" xmlns:asp="#unknown"> <asp:listitem text="ALL" value="" /> </asp:dropdownlist>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)