public static List <string> GetGamesSold(string id) { string sql = @"select gname from dbo.Purchases where sellerId = '" + id + "';"; return(SqlDataAccess.LoadData <string>(sql)); }