protected void ibtnImg1_Click(object sender, ImageClickEventArgs e) { WebcastDA objWebcastDA = new WebcastDA(); List<WebinarBO> objWebinarBO = objWebcastDA.GetWebcastDetailDA(2); if (objWebinarBO.Count > 0) { lblTitle.Text = objWebinarBO[0].Title; lblPresenter.Text = objWebinarBO[0].Presenter; lblDate.Text = objWebinarBO[0].SessionDateAndTime; ltrConfDetail.Text = objWebinarBO[0].Summary; } }
protected void rpImg_ItemCommand(object source, RepeaterCommandEventArgs e) { WebcastDA objWebcastDA = new WebcastDA(); List<WebinarBO> objWebinarBO = objWebcastDA.GetWebcastDetailDA(Convert.ToInt32(e.CommandArgument)); if (objWebinarBO.Count > 0) { lblTitle.Text = objWebinarBO[0].Title; lblPresenter.Text = objWebinarBO[0].Presenter; lblDate.Text = objWebinarBO[0].SessionDateAndTime; ltrConfDetail.Text = objWebinarBO[0].Summary; //ltrVideo.Text = "<video width=\"320\" height=\"240\" controls=\"controls\" src=\"../Data/" + objWebinarBO[0].recordedFilename + "\"></video>"; ltrVideo.Text = "<video controls=\"controls\" src=\"..//Data//" + objWebinarBO[0].recordedFilename + "\"></video>"; } }