コード例 #1
0
        public static void DeleteTest(string Theme)
        {
            string com = "Delete From Tests where Theme = '" + Theme + "'";

            OLEDBHelper.Execute(com);
        }
コード例 #2
0
        public static void DeleteParentKid(int ParentsID)
        {
            string com = "Delete From ParentKid where ParentsID = " + ParentsID;

            OLEDBHelper.Execute(com);
        }
コード例 #3
0
        public static void AddTest(string Theme)
        {
            string com = "insert into Tests (Theme) VALUES ('" + Theme + "')";

            OLEDBHelper.Execute(com);
        }
コード例 #4
0
        public static void AddParentKid(int ParentsID, int KidsID)
        {
            string com = "insert into ParentKid (ParentsID , KidsID) VALUES ('" + ParentsID + "' , '" + KidsID + "')";

            OLEDBHelper.Execute(com);
        }