コード例 #1
0
    protected void btnDelete_Click(object s, EventArgs e)
    {
        try
        {
            string[] strArg = ((ImageButton)s).CommandArgument.Split(',');

            BLL_PB_PortageBill.Delete_Allotment(Int32.Parse(strArg[2]), Convert.ToInt32(strArg[0]), Convert.ToDateTime(strArg[1]), GetSessionUserID());
            Load_Allotments();
        }
        catch (Exception ex)
        {
            throw ex;
        }
    }