/// <summary> /// Binds the line items grid. /// </summary> private void BindCurrencyRatesGrid() { object dataSource = GetCurrencyRatesDataSource(); if (dataSource != null) { CurrencyRatesGrid.DataSource = dataSource; CurrencyRatesGrid.DataBind(); } }
/// <summary> /// Handles the NeedRebind event of the CurrencyRatesGrid control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> void CurrencyRatesGrid_NeedRebind(object sender, EventArgs e) { CurrencyRatesGrid.DataBind(); }