i am using visual studio 2008 and i got ajax toolkit integrated ....
i used combobox and i tried to add items in it statically but its not showing tht item in runtime(as i want to show that itme like dropdownlist)
its not showing error and at runtime comboBox is visible but its item are not visible
here is the way i add
property->item->listitme-add
or through
ComboBox1.Items .Insert(0, "name");
ComboBox1.Items .Insert(1, "name");
ComboBox1.Items .Insert(2, "name");
ComboBox1.Items .Insert(3, "name");
ComboBox1.Items .Insert(4, "name");
or through this way too
ComboBox1.Items .Add("name1");
ComboBox1.Items .Add("name2");
ComboBox1.Items .Add("name3");
ComboBox1.Items .Add("name4");
ComboBox1.Items .Add("name5");
plzzzzz tell me what i should do to add item in my combobox
i used combobox and i tried to add items in it statically but its not showing tht item in runtime(as i want to show that itme like dropdownlist)
its not showing error and at runtime comboBox is visible but its item are not visible
here is the way i add
property->item->listitme-add
or through
ComboBox1.Items .Insert(0, "name");
ComboBox1.Items .Insert(1, "name");
ComboBox1.Items .Insert(2, "name");
ComboBox1.Items .Insert(3, "name");
ComboBox1.Items .Insert(4, "name");
or through this way too
ComboBox1.Items .Add("name1");
ComboBox1.Items .Add("name2");
ComboBox1.Items .Add("name3");
ComboBox1.Items .Add("name4");
ComboBox1.Items .Add("name5");
plzzzzz tell me what i should do to add item in my combobox
Comment