private string GetFormCode() { GenerateCode gserver = new GenerateCode(0, 0); string code = "YA" + gserver.nextId().ToString(); return(code); }