4 ) DROPDOWNLIST
* DropDownList *
Q 1 ) How to add data in Dropdownlist
Step : - toolbox -- dropdownlist--[>]--edit items--add--text(name)--ok
Design :- textbox , dropdownlist ,button(add)
Coding through :-
{
DropDownList1.Items.Add(TextBox1.Text);
}
Q 2 ) how to print dropdown data in Textbox
Coding thorugh :- double click on Dropdownlist
Code :- TextBox1.Text = DropDownList1.Text;
Comments
Post a Comment