Click here to Skip to main content
16,004,833 members

Comments by majid5487 (Top 6 by date)

majid5487 22-Feb-12 15:57pm View    
Thanks Again , you saved me from my teacher i want to kiss you :D
majid5487 22-Feb-12 15:26pm View    
what is list items are
ListBox1.Items.Add("de- 100 kl")
ListBox1.Items.Add("ars - 200 kl")
ListBox1.Items.Add("cr - 300 kl")
ListBox1.Items.Add("er - 400 kl")
then how to filter all characters except 100kl or 300kl and others ?
thanks for helping me
majid5487 15-Feb-12 7:33am View    
thanks you too :D but teacher told us to use switch, :D
majid5487 15-Feb-12 7:31am View    
i changed to comboBox1.Text and its worked but why .SelectedItem will not compile :o
here it fixed code thanks you :D
switch (int.Parse(comboBox1.Text ))
{
case 1:
l1.Text = "11111111111";
break;
case 2:
l1.Text = "22222222222";
break;
case 3:
l1.Text = "33333333333";
break;


}
majid5487 15-Feb-12 7:26am View    
homework