Example #1
0
        public bool ActualFormDelete(ActualFormObject delete)
        {
            string command = "delete formUsing where id_form='" + delete.IdForm + "' and id_tn=" + delete.IdTn + ";";

            return(sql.SetSQLTable(command));
        }
Example #2
0
        public bool ActualFormInsert(ActualFormObject insert)
        {
            string command = "insert into formUsing values('" + insert.IdForm + "'," + insert.IdTn + ",'" + insert.StartDate + "'," + insert.EndDate + "," + insert.Difficulty + "," + insert.IdCreator + ");";

            return(sql.SetSQLTable(command));
        }