コード例 #1
0
ファイル: TaxValueEditTab.ascx.cs プロジェクト: hdgardner/ECF
        /// <summary>
        /// Binds the line items grid.
        /// </summary>
        private void BindTaxValuesGrid()
        {
            object dataSource = GetTaxValuesDataSource();

            if (dataSource != null)
            {
                TaxValuesGrid.DataSource = dataSource;
                TaxValuesGrid.DataBind();
            }
        }
コード例 #2
0
ファイル: TaxValueEditTab.ascx.cs プロジェクト: hdgardner/ECF
 /// <summary>
 /// Handles the NeedRebind event of the TaxValuesGrid 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 TaxValuesGrid_NeedRebind(object sender, EventArgs e)
 {
     TaxValuesGrid.DataBind();
 }