Example #1
0
    protected void Button1_Click(object sender, EventArgs e)
    {
        // Reset the database tables
        DummyData dummyData = new DummyData();
        dummyData.MakeTables();
        dummyData.InsertBirdRecords();
        dummyData.InsertMemberRecords();
        dummyData.InsertBirdMemberRecords();
        Label1.Text = "Database has been reset";

        Response.Redirect("Database.aspx");
    }