Beispiel #1
0
        void dataGridControl1_DataError(object sender, System.Windows.Forms.DataGridViewDataErrorEventArgs e)
        {
            string msg = String.Format("ErrorInfo_CreateTableSchemaDialog".GetFromResourece(), e.RowIndex, e.ColumnIndex);

            Debug.WriteLine(msg);
            e.ThrowException = false;
        }
 /// <summary>
 /// Handles the DataError event of the uxCountryRegionCurrencyDataGridView control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="T:System.Windows.Forms.DataGridViewDataErrorEventArgs"/> instance containing the event data.</param>
 protected void OnCountryRegionCurrencyDataGridViewDataError(object sender, System.Windows.Forms.DataGridViewDataErrorEventArgs e)
 {
     System.Diagnostics.Debug.WriteLine(string.Format("{0}, {1}", e.ColumnIndex, e.RowIndex));
 }
 /// <summary>
 /// Handles the DataError event of the uxEmployeeAddressDataGridView control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="T:System.Windows.Forms.DataGridViewDataErrorEventArgs"/> instance containing the event data.</param>
 protected void OnEmployeeAddressDataGridViewDataError(object sender, System.Windows.Forms.DataGridViewDataErrorEventArgs e)
 {
     System.Diagnostics.Debug.WriteLine(string.Format("{0}, {1}", e.ColumnIndex, e.RowIndex));
 }
 /// <summary>
 /// Handles the DataError event of the uxTransactionHistoryArchiveDataGridView control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="T:System.Windows.Forms.DataGridViewDataErrorEventArgs"/> instance containing the event data.</param>
 protected void OnTransactionHistoryArchiveDataGridViewDataError(object sender, System.Windows.Forms.DataGridViewDataErrorEventArgs e)
 {
     System.Diagnostics.Debug.WriteLine(string.Format("{0}, {1}", e.ColumnIndex, e.RowIndex));
 }
 private void UnleashedData_DataError(object sender, System.Windows.Forms.DataGridViewDataErrorEventArgs e)
 {
 }
 /// <summary>
 /// Handles the DataError event of the uxSpecialOfferProductDataGridView control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="T:System.Windows.Forms.DataGridViewDataErrorEventArgs"/> instance containing the event data.</param>
 protected void OnSpecialOfferProductDataGridViewDataError(object sender, System.Windows.Forms.DataGridViewDataErrorEventArgs e)
 {
     System.Diagnostics.Debug.WriteLine(string.Format("{0}, {1}", e.ColumnIndex, e.RowIndex));
 }
Beispiel #7
0
 /// <summary>
 /// Handles the DataError event of the uxSalesOrderHeaderSalesReasonDataGridView control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="T:System.Windows.Forms.DataGridViewDataErrorEventArgs"/> instance containing the event data.</param>
 protected void OnSalesOrderHeaderSalesReasonDataGridViewDataError(object sender, System.Windows.Forms.DataGridViewDataErrorEventArgs e)
 {
     System.Diagnostics.Debug.WriteLine(string.Format("{0}, {1}", e.ColumnIndex, e.RowIndex));
 }
Beispiel #8
0
 private void dgv_DataError(object sender, System.Windows.Forms.DataGridViewDataErrorEventArgs e)
 {
     //由于Columns列含有貌似图片的信息, 但是转换出错, 需要实现此方法跳过错误, 不然该表无法显示
     e.Cancel = true;
 }
Beispiel #9
0
 /// <summary>
 /// Handles the DataError event of the uxProductModelProductDescriptionCultureDataGridView control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="T:System.Windows.Forms.DataGridViewDataErrorEventArgs"/> instance containing the event data.</param>
 protected void OnProductModelProductDescriptionCultureDataGridViewDataError(object sender, System.Windows.Forms.DataGridViewDataErrorEventArgs e)
 {
     System.Diagnostics.Debug.WriteLine(string.Format("{0}, {1}", e.ColumnIndex, e.RowIndex));
 }