private string getFBLabel(int id) { if (id == 0) { return("ALL"); } string name = id.ToString(); if (Session["MFB_Name"] != null && Session["MFB_Name"].ToString().Length > 0) { name = Session["MFB_Name"].ToString(); } else { var dbname = service.getFBName(id); if (dbname.Length > 0) { name = dbname; Session["MFB_Name"] = dbname; } } return(name); }