public static string GetAllSalProjectCode() { string text2; try { string text = ""; EntityData allSalProjectCode = ProjectDAO.GetAllSalProjectCode(); if (allSalProjectCode.HasRecord()) { if (text != "") { text = text + ","; } text = text + allSalProjectCode.GetString("SalProjectCode"); } allSalProjectCode.Dispose(); text2 = text; } catch (Exception exception) { throw exception; } return(text2); }