示例#1
0
 virtual protected void OnFound(SqlProxyDataReader sqlReader)
 {
     if (RadarFormFoundRecord != null)
     {
         RadarFormFoundRecord(this, sqlReader);
     }
 }
示例#2
0
        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);
            }
        }
示例#3
0
 protected override void OnFound(SqlProxyDataReader sqlReader)
 {
     Description = sqlReader[EF_Users.Surname].ToString();
 }
示例#4
0
 protected override void OnFound(SqlProxyDataReader sqlReader)
 {
     Description = sqlReader.GetValue <string>(EF_Codes.Description);
 }
示例#5
0
 protected override void OnFound(SqlProxyDataReader sqlReader)
 {
     Description = sqlReader[EF_Counter.Description.Name].ToString();
 }
示例#6
0
 protected override void OnFound(SqlProxyDataReader sqlReader)
 {
     Description = sqlReader.GetValue <string>(CustomerTable.Description);
 }