Preview

C-Ilab: Week 1: The Database Programming Environment

Better Essays
Open Document
Open Document
1818 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
C-Ilab: Week 1: The Database Programming Environment
SAI430—iLab Week 1: The Database Programming Environment

TCOs Satisfied
1
Given a set of guidelines and tools, explore how project work and development can be enhanced and improved with proper structure and formality.
5
Given a business system application that needs to retrieve from and write to a relational database using an external sequential or CSV data file format, the student will design, code, and document the business application using a high-level language.

Introduction and Rationale
During Week 1, the primary learning activity is to set up the programming and database environments that you will use in completing the course labs. We will investigate TCO 5 by learning how to use Visual Studio to connect to a MySQL database. This
…show more content…
Name your file LastName_FirstName_W1_iLab.docx. If your instructor requests additional files, you can ZIP this into a file entitled: LastName_FirstName_W1_iLab.zip.
2. In the document, include your full name, course number, professor’s name, date, assignment number, and email address as a header.
3. Include a screen capture of the console output. You can capture the console window by holding down the ALT key and pressing Print Screen. This will place the console window on the clipboard. You can then paste it into Word.
4. Copy and paste the program code into Word after the screen capture. Your instructor may ask you to include your entire project as a ZIP file. If so, she or he will give you specific instructions.
Make sure you close and save your Word document before uploading it to the Dropbox. This will ensure that the latest version of the file is
…show more content…
The second line prints 65 dashes. The third line would print the item size result RIGHT justified in a field of 10. Note that these three lines are examples and DO NOT go next to each other in your final solution. They are just hints. Review the C# Write and WriteLine methods as needed for data formatting.
HINT 4: When you extract the current price from the MySQL database, it comes from the DataAdapter as an object. In the line below, the object is then “cast” into a decimal which matches the type in the database. This freshly-cast object is then converted to a string with the addition of the “C” (or currency) format specifier. While your earlier classes probably addressed casting (often called typecasting), you should refresh your knowledge of this term and familiarize yourself with why it is used.
Console.WriteLine("{0, 10}", ((decimal)dataRow["curr_price"]).ToString("C"));

TIP: What do all these ODBC things do?
While there are several ways of doing this program, the method selected uses the ODBCConnection. Briefly discussed are the various classes used for this

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Germination and Beans

    • 326 Words
    • 2 Pages

    6. Create a table for your data, including title, units, and any other useful information.…

    • 326 Words
    • 2 Pages
    Satisfactory Essays
  • Best Essays

    Nash ,A (2012) British standards .Lecture 1:Project support Activities [online].[Accessed 27 April 2013].Available at <http://wolf.ac.uk/>.htm>…

    • 3060 Words
    • 13 Pages
    Best Essays
  • Satisfactory Essays

    MIS Spring2015 Syllabus 2

    • 2992 Words
    • 19 Pages

    3. The students will be able to effectively design databases to be compatible with business processes.…

    • 2992 Words
    • 19 Pages
    Satisfactory Essays
  • Good Essays

    READ the Directions. Answer the question(s) below in 500-750 words. Enter your answer onto this document; once you are done, upload this document to D2L. Do NOT change the font, font size, or margins. Margins are set at 1” right, 1” left, 1” top, and 1” bottom. Font is Calibri and font size is 12.…

    • 760 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Arcon Industries

    • 4809 Words
    • 20 Pages

    Payne, J (1993). Introducing formal project management into a traditional, functionally structured organization. International journal of project management. 11(4). 239–243.…

    • 4809 Words
    • 20 Pages
    Powerful Essays
  • Best Essays

    Continue writing your coursework on the next page. Alternatively, if you have already written your coursework in another document, copy and paste the content of your coursework from your document within this file.…

    • 3190 Words
    • 13 Pages
    Best Essays
  • Satisfactory Essays

    In the Save As dialog box, click Settings. Select Retain Flowing Text or Retain Page Layout,…

    • 305 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    A project is a temporary endeavour, undertaken to meet particular goals and objectives, having a defined beginning and end, usually to bring about beneficial change or added value. The temporary nature of projects stands in contrast to, which are repetitive, permanent or semi-permanent functional work to produce products or services. In practice, the management of these two systems is often found to be quite different, and as such requires the development of distinct technical skills and the adoption of separate management.…

    • 3416 Words
    • 14 Pages
    Powerful Essays
  • Good Essays

    SSADM method for SDLC

    • 787 Words
    • 4 Pages

    Note: We have decided to use multiple methods in project development approach and picking best suited methods for different stages.…

    • 787 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Database

    • 2550 Words
    • 11 Pages

    These slides are minor adaptaAons of material authored and made available to instructors by Ramez Elmasri and Shamkant B. Navathe to accompany their textbook Database Systems: Models, Languages, Design, and ApplicaGon Programming, 6th (Global) EdiGon Addison-­‐Wesley Pearson, 2011, 978-­‐0-­‐13-­‐214498-­‐8 Copyright © 2011 Pearson EducaAon, Inc., whom I thank. All errors are my responsibility. Outline 3 §…

    • 2550 Words
    • 11 Pages
    Powerful Essays
  • Satisfactory Essays

    In this course, students will be: 1. guided to outline architecture for a database system, define and manipulate data, and understand the transactions process of database systems 2. provided with knowledge on modern database systems, data warehouses and on-line analytical processing, and the role of database in e-commerce 3. Explain the basic principles IT strategic planning, and the main techniques commonly used in the preparation of IS/IT strategic plans and Projects; By the end of the course, students should be able to: 1. Explain the principles of database management systems 2. Explain data modeling with emphasis on Relational Mode 3. Demonstrate the ability to design databases using E-R Models 4. Explain query processing and familiarize using SQL; 5. Strategic information system planning: what is involved in establishing a planning process 6. Determining the business information systems strategy. 7. Strategic planning for information systems 8. Explain the basic steps in Project Management This course…

    • 706 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    The project has been carried out during a four-week project, from the 20th of NOVEMBER to 19th of DECEMBER 2003 at the IT University of Copenhagen under the guidance and supervision of Mr.Carsten Butz. We thank Mr. Carsten Butz for assistance during the project.…

    • 3288 Words
    • 17 Pages
    Powerful Essays
  • Powerful Essays

    Payroll

    • 3940 Words
    • 16 Pages

    IN PARTIAL FULLFILMENT of the requirements for the COMPUTER PROGRAMMING COURSE, this thesis entitled “DIPOLOG COMPUTER SYSTEM’S INC. ENROLLMENT SYSTEM” prepared and submitted by ANTHONY L.YONGOD…

    • 3940 Words
    • 16 Pages
    Powerful Essays
  • Satisfactory Essays

    Politics in Ghana

    • 713 Words
    • 3 Pages

    •Database Design and Implementation – provides the skills and knowledge needed by an effective database developer. The module covers a range of modelling and development techniques required to develop databases; it also considers the role of database systems within an organisation and future database applications. •eCommerce – addresses the underlying business paradigms, practices and processes associated with conducting business on the World Wide Web. It considers the development of systems that can be trusted by customers, business partners and regulatory bodies. •Information Systems Engineering – considers how development methodologies support the development of high quality information systems deployed by organisations. •Information Systems Management – considers how information systems can be managed to effectively support the various functions of an organisation. •IT Project and Quality Management – provides the theoretical knowledge…

    • 713 Words
    • 3 Pages
    Satisfactory Essays
  • Best Essays

    Adbms

    • 1539 Words
    • 7 Pages

    VI. Course Description: This course aims to strengthen the skills of the students with regards to database creation, manipulation and usage. It will help the students to acquire the theoretical foundation of Database Management Systems. It covers topics ranging from the core concepts of databases to the relational model, relation algebra operators, ER models, , normalization process and concepts relating to various advanced database models, and concepts. Thus, this is an advanced course, which will further develop the knowledge and skill acquired by the students at the basic level. MySQL and Java will be used in laboratory classes to accomplish…

    • 1539 Words
    • 7 Pages
    Best Essays

Related Topics