protected void btnSearch_Click(object sender, EventArgs e)
        {
            string searchTerm = searchTextBox.Text;

            if (!string.IsNullOrEmpty(searchTerm))
            {
                List <FlickrImage> listofImages = ImageManager.Instance.RetrieveFlickrImages(searchTerm);

                DataTable dt = new DataTable();
                dt.Columns.Add("ImageField");

                foreach (FlickrImage fimage in listofImages)
                {
                    DataRow dr = dt.NewRow();
                    dr[0] = FormatDataRow(fimage);
                    dt.Rows.Add(dr);
                }

                GV_ImageResults.DataSource = dt;
                GV_ImageResults.DataBind();
            }
            else
            {
                BindData();
            }
        }
        private void BindData()
        {
            List <FlickrImage> listofImages = ImageManager.Instance.RetrieveFlickrImages();


            DataTable dt = new DataTable();

            dt.Columns.Add("ImageField");

            foreach (FlickrImage fimage in listofImages)
            {
                DataRow dr = dt.NewRow();
                dr[0] = FormatDataRow(fimage);
                dt.Rows.Add(dr);
            }

            GV_ImageResults.DataSource = dt;
            GV_ImageResults.DataBind();
        }