Import Data From Excel File into Database. Contents 1.Understanding Excel structure 2.Understanding jxl.jar library 3.Problem: Import student information.

Slides:



Advertisements
Similar presentations
Learningcomputer.com. Using this Tab, you can import data from external sources including but not limited to: Text files Microsoft Access databases Web.
Advertisements

Microsoft Excel 2002 Microsoft Excel is a powerful spreadsheet program that helps you to organize data complete calculations make decisions graph data.
Architecture of the COREP-XBRL mapper Java based web application Uses only open source packages of Java + struts.jar for the GUI + poi.jar for the reading.
Excel XBRL mappers Steering Committee,
How do we work better in Microsoft Excel?. Our Data Source We enter data Somebody gives us the data We research and import the data.
Cognos Web Services Business Intelligence. SOA SOA (Service Oriented Architecture) The SOA approach involves seven key principles: -- Coarse -grained.
New Release Announcements and Product Roadmap Chris DiPierro, Director of Software Development April 9-11, 2014
JSF Portlet Backing Beans and UI Components Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in.
ProcessIt Document Library 8.0 Controlled Documents Suite.
The Librarian Web Page Carol Wolf CS396X. Create new controller  To create a new controller that can manage more than just books, type ruby script/generate.
Relationship and Query Assignment. Creating Relationship Assignment: Create a blank database (use any names you like) And then, import the three Excel.
IP Address Management and Request Service Kim Huynh CS491B.
FIRST COURSE Microsoft Access (Basics). XP Objectives Define the terms field, record, table, relational database, primary key, and foreign key. Learn.
Designing a Database Unleashing the Power of Relational Database Design.
Chapter 7 Data Management. Agenda Database concept Import data Input and edit data Sort data Function Filter data Create range name Calculate subtotal.
Technion – Israel Institute of Technology Department of Electrical Engineering Software Lab Grades Server on J2EE Technology Edo Yichie Sagee Rosen Supervisor:
Building and Deploying a Simple Web Application. Tomcat and JSP Tomcat is an application server, commonly used to host JSP applications Applications are.
Julien Thibault / Phil Brewster / Kristina Doing-Harris
1 Access Lesson 6 Integrating Access Microsoft Office 2010 Introductory Pasewark & Pasewark.
Emmanuel Cecchet et al.  Performance Scalability of J2EE application servers.  Test effect of: ◦ Application Implementation Methods ◦ Container Design.
MS Access 2007 IT User Services - University of Delaware.
Datasheets I: Create a table by entering data – You type, Access listens Lesson 18 By the end of this lesson you will be able to complete the following:
1 Working with MS SQL Server. 2 Objectives You will be able to Use Visual Studio for GUI based interactive access to a Microsoft SQL Server database.
Introduction to Databases. Overview  What is a Database?  What is a Database Management System?  How is information organized in a database?  What.
Java Omar Rana University of South Asia. Course Overview JAVA  C/C++ and JAVA Comparison  OOP in JAVA  Exception Handling  Streams  Graphics User.
Simple Database.
Business Solutions Using Microsoft ® Office SharePoint ® Server ROADSHOW.
INFN-Pisa Glast Database in Pisa A practical solution based on MSAccess Luca Latronico INFN Pisa.
Data Modelling – ERD Entity Relationship Diagram’s Entity Relationship Diagrams and how to create them. 1.
Prepared by: Guided by: Sagar Patel Prof. Chintan sir.
1 CS U430: Database Design Spring 2006 Panfeng (Tony) Zhou.
Nobody’s Unpredictable Ipsos Portals. © 2009 Ipsos Agenda 2 Knowledge Manager Archway Summary Portal Definition & Benefits.
Relational Lists.txt Excel can import multiple file types.txt Excel can import multiple file types.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 Working with MSSQL Server Code:G0-C# Version: 1.0 Author: Pham Trung Hai CTD.
Web Map Applications: The Geo-Web Revisited Keith T. Weber, GISP GIS Director, ISU.
CSE Introduction to Computing Concepts. Outline  What is an application program?  What is Excel?  Creating a Simple Workbook  Writing Formulas.
JAVA SERVER PAGES CREATING DYNAMIC WEB PAGES USING JAVA James Faeldon CS 119 Enterprise Systems Programming.
Implementing Business Intelligence Solutions. Overview Configuring and Incorporating Business Data Catalog Applications into Portal Solutions Implementing.
Module 7: Implementing Business Intelligence Solutions.
ATADESAB. BATLE CORDER DLEIF Lesson objectives In this lesson you will learn some basic database terms and learn how a database is created.
Your Name 12/16/13 Presenter___________ 1.3 Complements about the presentation a. b. c suggestions for the presenter to do differently in the future.
TASS Meeting Copy and Paste from Excel to SAS September 19th, 2008 Copy and Paste from Excel to SAS Dr. Arthur Tabachneck, Director Data Management with.
Web Directory For Computer Science Projects Nidhi Goel Course: CS 491B Instructor: Prof. Chengyu Sun December 8, 2006.
MS Access. Access is a DBMS/RDMS DBMS = Database Management System RDMS = Relational Database Management System.
Chapter 9 Using JSTL. Sometimes you need more than EL or standard actions What if you want to loop through the data in an array, and display one item.
Quiz questions. 1 A data structure that is made up of fields and records? Table.
Microsoft Excel 2003 Illustrated Complete Data with Other Programs Exchanging.
Database Management Systems CS 420. Topics Outline 1. Introduction 2. HTML Review 3. VBScript 4. Access DBMS 5. Relational Database 6. Design Process.
From a client restaurant a representative will pick up a signed order sheet from the restaurant manager for the quantities desired of each item sold by.
MySQL Importing and creating a database. CSV (Comma Separated Values) file CSV = Comma Separated Values – they are simple text files containing data which.
Planning & Creating a Database By Ms. Naira Microsoft Access.
Introduction to Databases CISC Where would you find info about yourself stored in a computer? College Physician’s office Library Grocery Store Dentist’s.
Database Access Control IST2101. Why Implementing User Authentication? Remove a lot of redundancies in duplicate inputs of database information – Your.
MySQL, JavaBeans and File Upload
Designing a Relational Database 13.4 Page A database should be created based on a design  Three steps Determine what information should be stored.
Import Data From Excel File into Database. Contents 1.Understanding Excel structure 2.Understanding jxl.jar library 3.Problem: Import student information.
Courses NumNameDesc Record Field Table Credits. “PROJECT”“SELECT” Operators on Tables.
Howard Paul. Sequential Access Index Files and Data File Random Access.
JSP / Servlets and Beans
INTRODUCTION DATABASE TO. Who Needs a Database?????? We all do!!!!!!!!
DAY 2 Haifa Abulaiha January 13,
WMarket For Adminstrators Manual Installation. Basic Dependencies To install your own WMarket instance, you are required to install the following software:
PHP and SQL Server: Connection IST 210: Organization of Data IST2101.
DAY 14: DATABASES RAHUL KAVI February 25,
TU170 Learning online and computing with confidence
Download Microsoft Exam - Valid Question Answers - Realexamdumps.com
Jean-Francois LEBLANC Christian SEBASTIAN
The Digital Reading Room at Athabasca University
Please thank our sponsors!
Parts of an Excel Window
Presentation transcript:

Import Data From Excel File into Database

Contents 1.Understanding Excel structure 2.Understanding jxl.jar library 3.Problem: Import student information from Excel File 4.Solution

1. Understand Excel structure One Excel File data store in a workbook Each workbook contents a lot of sheets Each sheet contents a lot of rows Each row contents a lot of cells Cell contents the data

 Workbook Object Workbook Object  Sheet Object Sheet Object  Cell Object Cell Object Reference: Understanding jxl.jar library

3. Problem: Import student information from Excel File There is a list of students information in excel file. See the picture bellow:

 Write a program read all students information and then store it into your database.  Write a jsp file to view all students information stored in the database

Sample Interface

4. Solution 4.1 Analysis and design database to store student information 4.2 Coding

4.1 Analysis and design database to store student information Each student object include student id, first name, last name, and gender. Create a database name “iwp” and then create student table to store student information include fields: 1. Student ID (Primary key) 2. Last Name 3. First Name 4. Gender

Step 1: Copy upload file bean and jxl.jar library to web server Step 2: Write code 4.1 Coding

Step 1: Copy upload file bean class and jxl.jar library  Copy com package to tomcat install_dir/webapps/ROOT/WEB-INF/class using for upload file from client to Server  Copy jxl.jar library to tomcat install_dir/webapps/ROOT/WEB-INF/lib using for read excel filejxl.jar

a. Developing importstudentinformation.jsp to upload excel file from client to server and then read student information from excel to store into database b. Developing listofstudents.jsp to view all students in student table Step 2: Write code

a. Upload excel file and read data – importstudentinformation.jsp

b. Developing listofstudents.jsp

References

Practice Exercise Import the list of employees in excel file and create a jsp file to view all employees stored in database.

Practice Exercise 1 We have a list of courses (Each course includes ID, Name, Credit). To prepares for student register class of each semester. AAS program director will decide list of courses will be offered in the next semester. Design database to store list of course will be offered for the each semester. Create a jsp file allow the program directors select courses will be offer.