VB.NET
’DropDownList1.Items.Insert(0, 'Please Select')
DropDownList1.Items.Insert(0, new ListItem('<text>', '<value>'))
C#
//DropDownList1.Items.Insert(0, 'Please Select');
DropDownList1.Items.Insert(0, new ListItem('<text>', '<value>'));
This should be done after .DataBind of dropdownlist
Share with