protected void listRepeater_ItemCommand(object source, RepeaterCommandEventArgs e)
    {
        NoteData data = new NoteData();

        data.DeleteMemoInfo(this.progCode, int.Parse(e.CommandArgument.ToString()));

        Response.Redirect("RetrieveMemoList.aspx?progCode=" + this.progCode, true);
    }
Example #2
0
    private int getSeq()
    {
        int iReturn = 0;

        string[] arrReceiver = deletedSeq.Split(',');

        NoteData data = new NoteData();

        for (int i = 0; i < arrReceiver.Length; i++)
        {
            if (data.DeleteMemoInfo(progCode, Convert.ToInt32(arrReceiver[i].ToString())))
            {
                iReturn++;
            }
        }
        return(iReturn);
    }