コード例 #1
0
    protected void Button1_Click(object sender, EventArgs e)
    {
        anm_Utility ut = new anm_Utility();

        try { ut.AddAuthor(DropDownList1.Text.ToString(), DropDownList2.Text.ToString()); } catch { }
        Response.Redirect(Page.Request.Url.AbsolutePath.ToString() + "?p=AdminAuthors");
    }