hi all,
I'm adding some elements to a combo box and I want to set one of its value as a initial value.
I wrote the following code, but it is not setting '2' as initial value.Is it correct or not ? Is theie any solution to this ?
cmb1.Items.Add ( "1" );
cmb1.Items.Add ( "2" );
cmb1.Items.Add ( "3" );
cmb1.Items.Add ( "4" );
strselval = "2";
cmb1.Text = strselval;
regards.
lat