Example #1
0
        /// <summary>
        /// Binds the sale prices grid.
        /// </summary>
        private void BindSalePricesGrid()
        {
            object dataSource = GetSalePricesDataSource();

            if (dataSource != null)
            {
                SalePricesGrid.DataSource = dataSource;
                SalePricesGrid.DataBind();
            }
        }
Example #2
0
 /// <summary>
 /// Handles the NeedRebind event of the SalePricesGrid 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 SalePricesGrid_NeedRebind(object sender, EventArgs e)
 {
     SalePricesGrid.DataBind();
 }