예제 #1
0
        protected void Show_All_Movies()
        {
            VodioContainer ve   = new VodioContainer();
            List <Movie>   movs = ve.Movies.ToList();

            AllMovie.DataSource = movs;
            AllMovie.DataBind();
        }
예제 #2
0
        protected void SearchMov_Click(object sender, EventArgs e)
        {
            VodioContainer ve   = new VodioContainer();
            List <Movie>   movs = ve.Movies.Where(m => m.Title.Contains(SearchText.Text)).ToList();

            AllMovie.DataSource = movs;
            AllMovie.DataBind();
            selectedTab = 2;
        }