コード例 #1
0
 private void Exibir()
 {
     eq.Escalada = comboBox1.Text;
     dataGridView1.Rows.Clear();
     foreach (DataRow alpinista in ce.BuscaDadosEquipe(eq).Rows)
     {
         int n = dataGridView1.Rows.Add();
         dataGridView1.Rows[n].Cells[1].Value = alpinista["nome"].ToString().ToUpper();
         dataGridView1.Rows[n].Cells[2].Value = alpinista["funcao"].ToString().ToUpper();
         dataGridView1.Rows[n].Cells[3].Value = alpinista["cod"].GetHashCode();
     }
     data = ce.BuscaDataEscalada(eq).Rows[0][0].ToString();
 }
コード例 #2
0
 private void Exibir()
 {
     ic.Escalada = comboBox1.Text;
     eq.Escalada = comboBox1.Text;
     dataGridView1.Rows.Clear();
     foreach (DataRow alpinista in ci.SelecionaNovosEnvelope(ic).Rows)
     {
         int n = dataGridView1.Rows.Add();
         dataGridView1.Rows[n].Cells[1].Value = alpinista["nome"].ToString().ToUpper();
         dataGridView1.Rows[n].Cells[2].Value = alpinista["grupo"].ToString().ToUpper();
         dataGridView1.Rows[n].Cells[3].Value = alpinista["cod"].GetHashCode();
     }
     data = ce.BuscaDataEscalada(eq).Rows[0][0].ToString();
 }