int to String

Stimulsoft Reports.NET discussion
Post Reply
xeyyam
Posts: 22
Joined: Wed Jul 06, 2011 1:34 am
Location: Az

int to String

Post by xeyyam »

Hello.

Is any way to convert int to string in coding part . When i debug my code :

public bool isHoliday( int mounth , int day )
{
......
string temp = Convert.ToString(day);
.....
}

there always appear message showing line where i convert int to string.
Brendan
Posts: 309
Joined: Sun Jul 16, 2006 12:42 pm
Location: Ireland

int to String

Post by Brendan »

try

Code: Select all

string temp = day.ToString();
Post Reply