Esempio n. 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            string _Error = "";

            try
            {
                DataSet        objDS           = new DataSet();
                BeMovieBooking objMovieBooking = new BeMovieBooking();
                objDS = objMovieBooking.BeGetMovies(ref _Error);
                Repeater1.DataSource = objDS;
                Repeater1.DataBind();
            }
            catch (Exception ex)
            {
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            string _Error = "";

            try
            {
                DataSet        objDS           = new DataSet();
                BeMovieBooking objMovieBooking = new BeMovieBooking();
                objDS = objMovieBooking.BeGetMovies(ref _Error);
                for (int i = 0; i < objDS.Tables[0].Rows.Count; i++)
                {
                    objDS.Tables[0].Rows[i]["ImagePath"] = Convert.ToString(objDS.Tables[0].Rows[i]["ImagePath"]).Replace("../../", "../");
                }
                rptMovies.DataSource = objDS;
                rptMovies.DataBind();
            }
            catch (Exception ex)
            {
            }
        }