Tuesday, July 14, 2009

In c# programming,,,how to set an integer into a textbox?? need help please...?

I think you follow your textbox further help you search





http://webdesignehelp.in/

In c# programming,,,how to set an integer into a textbox?? need help please...?
if you have an int type you can do this:


int value=4;





textBox.Text=new Integer(4).ToString();





or if you already have an Integer type just type





textBox.Text=IntNumber.ToString();
Reply:I think you can use casting for examlpe





int a=10;


string b= (String) a;
Reply:myTextBox.Text = myInteger.ToString();


No comments:

Post a Comment