コード例 #1
0
 private void BindData()
 {
     BLL.Exchange objEx = new BLL.Exchange();
     objEx.GetTopExchange();
     uiRepeaterExchange.DataSource = objEx.DefaultView;
     uiRepeaterExchange.DataBind();
 }
コード例 #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         BLL.Exchange ex = new BLL.Exchange();
         ex.GetTopExchange();
         UIGridViewExchange.DataSource = ex.DefaultView;
         UIGridViewExchange.DataBind();
     }
 }