string str = "S";
int index = 23;
string str_no = GetNo(str, index);
public static string GetNo(string str,int index)
{
string temp = string.Empty;
temp = string.Format("{0}{1:D5}", str, index);
return temp;
}