Beispiel #1
0
        public static void deleteAllHistory(List <HistoryItem> deleteAllList)
        {
            var adapterFour = new WebBrowser.Data.BrowserDBDataSetTableAdapters.HistoryTableAdapter();

            foreach (HistoryItem entry in deleteAllList)
            {
                adapterFour.Delete(entry.itemID, entry.URL, entry.Title, entry.Date);
            }
        }
Beispiel #2
0
        public static void deleteHistoryItem(string URL, string Title, DateTime date, int itemID)
        {
            var adapterThree = new WebBrowser.Data.BrowserDBDataSetTableAdapters.HistoryTableAdapter();

            adapterThree.Delete(itemID, URL, Title, date);
        }