Beispiel #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            CommonObject = new common(string.Format("{0}\\url.xml", Request.PhysicalApplicationPath));
            List<rss_node> list_rss = CommonObject.GetRssList();

            foreach (rss_node rnode in list_rss)
            {
                rssList.Append(
                    string.Format("<li><a href='javascript:void(0);' onclick='submit(\"{0}\");'>{1}</a></li>\n",
                    rnode.value, rnode.key)
                    );
            }
        }
Beispiel #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     CommonObject = new common(string.Format("{0}\\url.xml", Request.PhysicalApplicationPath));
     list_rss = CommonObject.GetRssList();
 }