示例#1
0
    protected void On_Command(object sender, System.Web.UI.WebControls.CommandEventArgs e)
    {
        var    cmd      = e.CommandName;
        var    arg      = e.CommandArgument.ToString();
        string now_date = DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss");
        string DF_ID    = "";
        string DF_DDID  = cmd;
        string DF_Type  = arg;

        MotionClass.DIALOG_FEEDBACK data_DF = SQLFunc.Get_DIALOG_FEEDBACK(DF_ID, DF_DDID, DF_Type, now_date);

        SQLFunc.Add_DIALOG_FEEDBACK(data_DF);

        lv_Dialog.DataBind();
    }