a = int.Parse(textBox1.Text);
            b = int.Parse(textBox2.Text);
            c = a(int.Parse(comboBox1.Text));
            textBox3.Text = c.ToString();

I am inputing 2 values in a and b ....and through combox1 I am doing calculations

Thanks

Recommended Answers

All 2 Replies

a = int.Parse(textBox1.Text);
            b = int.Parse(textBox2.Text);
            c = a(int.Parse(comboBox1.Text));
            textBox3.Text = c.ToString();

I am inputing 2 values in a and b ....and through combox1 I am doing calculations

Thanks

So, what is the question?

Perhaps you better ask your question(if any, see Ana D.) in the C# forum, instead of in the VB.NET forum.
From the code you posted I can see that line 3 will definitly not work.
a is an integer you cannot pass the variable int.Parse(comboBox1.Text) to an integer like you do.
But then again ask the C# forum, more guys and girls over there to solve your problem about C#.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.