public void ShowArticleInfo(string strID) { AlbumDAL dal = new AlbumDAL(); DataSet ds = dal.GetAlbumDetail(strID); PA_Album model = DataConvert.DataRowToModel <PA_Album>(ds.Tables[0].Rows[0]); this.hd_content.Value = model.Note; this.ddlAlbumType.SelectedIndex = this.ddlAlbumType.Items.IndexOf(this.ddlAlbumType.Items.FindByValue(model.Type)); this.AlbumName.Text = model.Name; this.img0.Src = "../../" + model.Photo; if (strAction == "show") { this.btnReset.Visible = false; this.btnSave.Visible = false; } }