DataTable绑定到GridView时,RowDataBound事件

        protected void EgvPhotoAdvertisement_RowDataBound(object sender, GridViewRowEventArgs e)
        {
            if (e.Row.RowType == DataControlRowType.DataRow)
            {
                System.Data.DataRowView dt = (System.Data.DataRowView)e.Row.DataItem; 
                string imgPath = dt.DataView[e.Row.RowIndex]["UploadFiles"].ToString();
                ... ...
            }
        }
上一篇:远程访问工业路由器


下一篇:ngModel 值不更新/显示