Esempio n. 1
0
        public static string selectLiked(string username)
        {
            utils.DbUtils dbUtil = new utils.DbUtils();
            string        html   = "<tr><th>Username</th><th>Owner</th></tr>";
            List <string> slist  = dbUtil.getLikedUrls(username);

            for (int i = 0; i < slist.Count; i++)
            {
                string[] vals = slist[i].Split(' ');
                html += "<tr><td>" + vals[1] + "</td><td>" + vals[0] + "</td><td</tr>";
            }
            return(html);
        }