virtual protected void OnFound(SqlProxyDataReader sqlReader) { if (RadarFormFoundRecord != null) { RadarFormFoundRecord(this, sqlReader); } }
private void FillComboBox() { QueryBuilder qB = new QueryBuilder(). SelectAllFrom(dC.TableType); SqlProxyCommand fillCM = new SqlProxyCommand(qB.Query, sqlCN); try { SqlProxyDataReader fillRD = fillCM.ExecuteReader(); while (fillRD.Read()) { this.Items.Add(fillRD.GetString(dC.Name)); } fillRD.Close(); } catch (SqlException exc) { MessageBox.Show(exc.StackTrace, exc.Message); } }
protected override void OnFound(SqlProxyDataReader sqlReader) { Description = sqlReader[EF_Users.Surname].ToString(); }
protected override void OnFound(SqlProxyDataReader sqlReader) { Description = sqlReader.GetValue <string>(EF_Codes.Description); }
protected override void OnFound(SqlProxyDataReader sqlReader) { Description = sqlReader[EF_Counter.Description.Name].ToString(); }
protected override void OnFound(SqlProxyDataReader sqlReader) { Description = sqlReader.GetValue <string>(CustomerTable.Description); }