예제 #1
0
    protected void AddButton_Click(object sender, EventArgs e)
    {
        if (!String.IsNullOrWhiteSpace(AddDateTextBox.Text))
        {
            DateTime newDate = DateTime.Parse(AddDateTextBox.Text);
            svc.AddDiaryDate(newDate);
        }

        UpdateGridView();
    }