dorpdown list extra item add [Resolved]

Posted by Jiturcm under C# on 4/21/2011 | Points: 10 | Views : 1124 | Status : [Member] | Replies : 2
how to add an extra item in a drop downlist

jitendra kumar mahapatro


Responses

Posted by: Prabhakar on: 4/21/2011 [Member] [MVP] Starter | Points: 50

Up
0
Down

Resolved
Hi jiturcm

write this code . . add item on runtime

ddluser.Items.Insert(0, "Select");

Best Regard's
Prabhakar

Jiturcm, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jiturcm on: 4/22/2011 [Member] Starter | Points: 25

Up
0
Down

Resolved
dropdownlist.item.insert(0,new listitem("select","0"));

jitendra kumar mahapatro

Jiturcm, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response