Skip to content
Branch: master
Find file History
Latest commit 328a540 Aug 31, 2014
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
01. Get number of records DB - Data Access with ADO.NET -HW -U Aug 27, 2014
02. Data retrieving from database DB - Data Access with ADO.NET -HW -U Aug 27, 2014
03. Product in each category DB - Data Access with ADO.NET -HW -U Aug 27, 2014
04. Insert a new product DB - Data Access with ADO.NET -HW -U Aug 27, 2014
05. Retrieves images DB - Data Access with ADO.NET -HW -U Aug 27, 2014
06. Reads MS Excel DB - Data Access with ADO.NET -HW -U Aug 27, 2014
07. Write to Excel DB - Data Access with ADO.NET -HW -U Aug 27, 2014
08. Searching with special symbols DB - Data Access with ADO.NET -HW -U Aug 27, 2014
09. Working with MySQL Data Access with ADO.NET -HW -U Aug 27, 2014
10. Working with SQLite Update Aug 31, 2014
07. Data Access with ADO.NET.sln Databases - ADO.NET HW -U May 12, 2014
07. Data Access with ADO.NET.zip
ADO.NET.pptx
README.txt Update Aug 31, 2014
Readme.md Update Readme.md May 16, 2014

Readme.md

Data Access with ADO.NET

  1. Write a program that retrieves from the Northwind sample database in MS SQL Server the number of rows in the Categories table.
  • Write a program that retrieves the name and description of all categories in the Northwind DB.

  • Write a program that retrieves from the Northwind database all product categories and the names of the products in each category. Can you do this with a single SQL query (with table join)?

  • Write a method that adds a new product in the products table in the Northwind database. Use a parameterized SQL command.

  • Write a program that retrieves the images for all categories in the Northwind database and stores them as JPG files in the file system.

  • Create an Excel file with 2 columns: name and score:

    Screenshot

    Write a program that reads your MS Excel file through the OLE DB data provider and displays the name and score row by row.

  • Implement appending new rows to the Excel file.

  • Write a program that reads a string from the console and finds all products that contain this string. Ensure you handle correctly characters like ', %, ", \ and _.

  • Download and install MySQL database, MySQL Connector/Net (.NET Data Provider for MySQL) + MySQL Workbench GUI administration tool . Create a MySQL database to store Books (title, author, publish date and ISBN). Write methods for listing all books, finding a book by name and adding a book.

  • Re-implement the previous task with SQLite embedded DB (see http://sqlite.phxsoftware.com).

You can’t perform that action at this time.