コード例 #1
0
        private void buttonGetEventsByFootballerAndDate_Click(object sender, EventArgs e)
        {
            var eventList = EventServices.GetByFootballerAndDate(Convert.ToInt32(textBox5.Text), dateTimePicker2.Value.Date);

            foreach (var item in eventList)
            {
                richTextBox1.Text += Convert.ToString(item.ID) + " " + Convert.ToString(item.DateTime) + " " + Convert.ToString(item.EventTypeID) + "\n";
            }
        }