30 lines
		
	
	
		
			947 B
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			947 B
		
	
	
	
		
			C#
		
	
	
	
using System;
 | 
						|
using System.Collections.Generic;
 | 
						|
using System.Linq;
 | 
						|
using System.Web;
 | 
						|
using System.Web.UI;
 | 
						|
using System.Web.UI.WebControls;
 | 
						|
 | 
						|
namespace FineUIPro.Web.HJGL.TrustManage
 | 
						|
{
 | 
						|
    public partial class ShowTrustItem : PageBase
 | 
						|
    {
 | 
						|
        protected void Page_Load(object sender, EventArgs e)
 | 
						|
        {
 | 
						|
            if (!IsPostBack)
 | 
						|
            {
 | 
						|
                string CH_TrustID = Request.Params["CH_TrustID"];
 | 
						|
                if (!string.IsNullOrEmpty(CH_TrustID))
 | 
						|
                {
 | 
						|
                    List<Model.View_CH_TrustItem> trustItems = new List<Model.View_CH_TrustItem>();
 | 
						|
                    trustItems = BLL.TrustManageEditService.GetView_CH_TrustItemByCH_TrustID(CH_TrustID);
 | 
						|
                    if (trustItems.Count > 0)
 | 
						|
                    {
 | 
						|
                        this.Grid1.DataSource = trustItems;
 | 
						|
                        this.Grid1.DataBind();
 | 
						|
                    }
 | 
						|
                }
 | 
						|
            }
 | 
						|
        }
 | 
						|
    }
 | 
						|
} |