Пример #1
-1
    protected void submit_Click(object sender, EventArgs e)
    {
        DataHandler dh = new DataHandler();
        dh.InsertEventContact(contactname.Text, email.Text, telephone.Text, timetocall.SelectedItem.ToString(), eventname.Text,
            eventdate.Text, region.SelectedItem.ToString(), details.Text, publicize.Checked.ToString());

        ResetForm();
    }