simple help!

denfor

Newcomer
Joined
Dec 21, 2004
Messages
11
i need to write some words and some values calculated in the code in the same row of a list box.what is the required code for it?

example:
i calculated "a" value and "b" value in the code.and i wanna see this in the row of listbox:(say a=1244 and b=14);

climb at 1244 for 14

thank u for your consideration.
 
denfor said:
i need to write some words and some values calculated in the code in the same row of a list box.what is the required code for it?

example:
i calculated "a" value and "b" value in the code.and i wanna see this in the row of listbox:(say a=1244 and b=14);

climb at 1244 for 14

thank u for your consideration.


Once you have the calculated values it's quite simple to add items to a listbox.

[CS]
listbox1.Items.Add("Climb " + a.ToString() + " for " + b.ToString());
[/CS]

Assuming a and b are numbers.
 
thx.but?

thank u but i use visual c++.NET 2003 ,wimdows form application.and i have errors.
i need something to write after:

__mcTemp__1[0] =??????

if anyone knows,please inform me!thank u.
 
Back
Top