Can someone tell me how to convert variables from one type to another in c#?
Specifically i need to display an integer in a textbox. the textbox does not want to display it since the textbox has text and the integer is an int.
Can someone tell me how to convert variables from one type to another in c#?
Specifically i need to display an integer in a textbox. the textbox does not want to display it since the textbox has text and the integer is an int.
sorry. no need to answer. i figured it out.
System.Convert.tostring( integer );
i guess i shall place it here in case someone else ever wants to know.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.