using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace MyTunes.Admin
{
    public partial class ScanResults : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Global g = (Global)HttpContext.Current.ApplicationInstance;
            if (g.ScanResult == null)
                lblResults.Text = "No Results Available.";
            else
                lblResults.Text = g.ScanResult;

            ErrorGrid.DataSource = g.ScanErrors;
            ErrorGrid.ShowHeader = false;
            ErrorGrid.DataBind();
        }
    }
}