int number = 1; string sNumber = number.ToString("D4");
int length = invoiceNumberFormat.ToString().Length ; string dValue = "D" + length.ToString();
int YourNo=Convert.ToInt32(tb2.text); for(int i=YourNo;i>=i+Convert.ToInt32(tb1.text);i++) { String sNo1=i.ToString("0000"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)