コード例 #1
0
        protected void grd_ViewFiles_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
        {
            List <CMSViewFilesDTO> cmsvf    = new List <CMSViewFilesDTO>();
            AssetBusiness          adobebus = new AssetBusiness();

            cmsvf = adobebus.GetAllAssetByTermAndDaneshId(DDL_Term.SelectedValue, 0);
            grd_ViewFiles.DataSource = cmsvf;
        }
コード例 #2
0
        protected void DDL_Term_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
        {
            List <CMSViewFilesDTO> cmsvf    = new List <CMSViewFilesDTO>();
            AssetBusiness          adobebus = new AssetBusiness();

            cmsvf = adobebus.GetAllAssetByTermAndDaneshId(DDL_Term.SelectedValue, 0);
            grd_ViewFiles.DataSource = cmsvf;
            grd_ViewFiles.DataBind();
        }