public static string TrimZero(string byval)
{
string result = byval;
int conertResult = 0;
try
{
conertResult = Convert.ToInt32(byval);
result = conertResult.ToString();
}
catch
{
return result;
}
return result;
}
{
string result = byval;
int conertResult = 0;
try
{
conertResult = Convert.ToInt32(byval);
result = conertResult.ToString();
}
catch
{
return result;
}
return result;
}
No comments:
Post a Comment