private string getLead(string companyID) { DataSet ds = GroupBLL.GetLeadID(CurrentUser.ID, companyID); if (ds.Tables[0].Rows.Count == 0) { return("Admin"); } else { string leadid = ds.Tables[0].Rows[0][0].ToString(); if (leadid == CurrentUser.ID) { return("Admin"); } SystemUser user = AdminBLL.GetUserByID(leadid); return(user.UserName); } }