Пример #1
0
        public static int DelBookInfo(string bookid)
        {
            string sql = "delete from Book where BookID = '" + bookid + "'";

            return(DBAccess.ExecuteNonQuery(sql));
        }
Пример #2
0
        public static int DelStuInfo(string stuid)
        {
            string sql = "delete from Student where StuID = '" + stuid + "'";

            return(DBAccess.ExecuteNonQuery(sql));
        }