示例#1
0
    protected void btnSubmit_Click(object sender, EventArgs e)
    {
        FillLoc();
        SendMessage();

        //Send to Database
        try
        {
            Loc.AddNewLoc(ThisLoc);
        }
        catch (Exception ex) { }

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