Vous êtes sur la page 1sur 22

A MAJOR TRAINING REPORT

PEOPLE’S COLLEGE OF RESEARCH AND TECHNOLOGY


BHOPAL (M.P)

SUBMITTED BY:-POORVI JAIN


BRANCH:- CSE

SUBMITTED TO :-
MR. PADAM GULWANI
(HOD OF CS/IT )
CONTENTS:-

• Institute Profile

• Guide Profile

• Technology used(in front end and back end)


Front end:- ASP.net
Back end:- SQL Server 2005

• Project worked upon

• Firm

• Advantage and Disadvantage


Institute Profile:-
NIIT, Asia’s largest IT trainer , have launched an initiative to expand
the technology horizons of India’s large student population by introducing
specialized education and training programs on various oops concept and it is
these lines that NIIT wants to organizing a OOP’S CONTEST. Online
Examination Conducted by NIIT Indrapuri Bhopal.

We want to introduce ourselves as the pioneer and the leader in the field of
Computer Education & IT training .Set up in 1981,NIIT has taken pride in
creating a great career opportunities for students from different walks of life
through its IT education programs.
Over the 25 years, NIIT had been pioneering innovative classroom,e-learning and
advanced solutions for students,career seekers ,professional,corporations and
higher education institutions.

NIIT’s achievement, to mention a few:


• No.1 IT education provider in India.

• Pioneered IT training in 1981;now has more than 4500 education centre.

• Trains 5,00,000 students every year .Overall trained more than 35 lakhs
people ,in over 44 ccountries.

• Have alliances with intel, Microsoft ,Oracle , Sun Microsystem,Thomoson


Prometric ,Comptia and EMC.

The purpose of this presentation would be to create awareness amongst the


college students about the current IT trends & career opportunities in IT sector &
to assist them prepare themselves for shaping up their future in the right
direction.
Welcome to NIIT,
You are on the verge of making the most important decision that will shape your
career ,help you fulfill your dreams and deeply impact your life. You would
realize during your interaction with our academic counselors that the IT world is
full of opportunities for young people like you from different graduation streams

In fact the topmost IT companies are looking for IT talent and fresh IT
Professional are drawing handsome salary packages averaging at Rs.27,000 per
month.

With the IT sector growing at 50% annually year after year ,there is going to be a
requirement of 8,50,000 IT professional by 2010* across all sectors however this
requirement will not get catered to by pass outs from the formal education stream
thereby creating a huge shortfall to the tune of 8,50,000 IT professional.
Over the past 3 years NIIT has successfully placed more than 50,000 students in
top brand companies like TCS, Satyam,Wipro, Accenture, Citibank, ICICI,
Infosys and the list goes on………

What becomes of great relevance today is the diverse range of career portfolish.
IT prepares you for-most of which are commensurate with your academic
discipline & interest areas.

After all the best professional today are those whose career is an extended area of
their interest?
We hope you find the association with our counselors inspiring, through
provoking & we also seek your consent for some probing that our counselors
Will need to do, to make this interaction more useful.

We wish the very best for your bright future. In case you wish to seek more
clarity, I will be more than happy to guide you.

We encourage participation by your parents in the career decision making


process. In case your parents wish to seek any clarification. I will feel privileged
to extend support.
Guide’s profile:-

My training guide is Miss Jaya Swamy.

Jaya Swami’s Profile:

• Over 6000 hours of teaching experience in NIIT.

• 3 years Program from NIIT(GNIIT).

• Average Batch pass Percentage 93%.

• FACT certified from NIIT.

• Done P.G. .

• Group leader system.

• Sun certified Java Professional.

• Technical Awareness :- J2SE,J2EE,J2ME, .Net05,08

Silverlight,C++,Oracle9i,10g

Cloud Computing,Tally,ERP9i,XML.
Technology used:-
Front End:-ASP. NET (Active Server page)

To create dynamic Web pages by using server side scripts,


Microsoft has introduced ASP. The .NET version of ASP is ASP.NET. It is a
standard HTML file that contains embedded server side scripts. ASP.NET
provides the following advantages of server side scripting:

• ASP.NET enables you to access information from data sources such as back-
end databases and text files that are stored on a Web server or a computer that is
accessible to a Web server.

• ASP.NET enables you to use a set of programming code called templates to


create HTML documents. The advantage of using templates to create HTML
document. The advantage of using templates is that you can dynamically insert
the content retrieved from data sources, such as back-end databases and text files,
into an HTML document before the HTML document is displayed to users. For
this reason, the information need not be changed manually as and when the
contents retrieved from the data source change.

• ASP.NET also enables you to separate HTML design from the data retrieval
mechanism. As a result, changing the HTML design does not affect the programs
that retrieve data from the databases. Similarly, server side scripting ensures that
changing data sources does not require a change in HTML documents.
Working of an ASP.NET Application:-

You create an ASP.NET application by using the tools


integrated with the Microsoft. NET Framework. After you create an
ASP.NET application, the ASP.NET files need to be stored on an IIS server,
which is the Web server for the Windows platform. An IIS server processes
the ASP.NET files from top to bottom and then executes the scripts. Finally,
the results are sent to the Web browser that requested the ASP.NET file.

To execute an ASP.NET file, the following steps are taken:

1. A Web browser sends a request for an ASP.NET file to a Web server using
Uniform Resources Locator(URL).

2. The Web server, IIS , receives the request and retrieves the appropriate
ASP.NET file from the disk memory.

3. The Web server forwards the ASP.NET file to the ASP.NET script engine for
processing.

4. The ASP.NET script engine reads the file from top to bottom and executes
any server side script it encounters.

5. The processed ASP.NET file is generated as an HTML document, and the


ASP.NET script engine sends the HTML page to the Web server.

6. The Web server then sends the HTML page to the client.

7. The Web browser interprets the output and display it.


In project work, used ASP.Net.ASP.Net is the module
of .net, which is used for mainly creating websites.

Many controls are used in ASP.NET, they are,


1. Label
2. Button
3. Textbox
4. Image button
5. Drop down list
6. Check box
7. List box
8. Checkbox list
9. Hyperlink
10.Table
11.Image
12. ImageMap
13. Hiddenfield
14. Calander
15. FileUpload
16. RadioButton
17. Panel
18. Login
Features of ASP.NET:-

• Compiled code

• Enriched Tool Support

• Power and flexibility

• Simplicity

• Manageability

• Scalability

• Security

• Extensibility
Compiled code
The code written in ASP.NET is compiled and not interpreted.
This makes ASP.NET application faster to execute than other server side scripts
that are interpreted ,such as the scripts that are interpreted version of ASP.
• Enriched Tool Support:-
The ASP.NET frame work is provided with a rich toolbox and
designer is the Visual Studio.NET IDE. Some of the features of this powerful tool
are that “what you see is what you get” (WYSIWYG) editor, drag and drop server
controls, and automatic deployment.
• Power and Flexibility:-
ASP.NET applications are based on CLR. As a result, the
power and flexibility of the .NET platform is available to ASP.NET application
developers. ASP.NET applications enable you to ensure that the .NET Framework
class library, messaging and data access solutions are seamlessly accessible on the
Web.ASP.NET is also language –independent .
• Simplicity:-
ASP.NET enables you to build user interface that separates
application logic from presentation content. In addition, CLR simplifies application
development by using managed code services, such as automatic reference
counting and garbage collection.
• Manageable:-
ASP.NET enables you to manage Web application by storing the
configuration information in an Extensible Markup Language (XML) file. You can
open the XML file in the Visual Studio .NET IDE.
• Scalability:-
ASP.NET has been designed with scalability in mind. It has
features that help improve performance in a multiprocessor environment.
• Security:-
ASP.NET provides a number of options for implementing security
and restricting user access to a Web application. All these options are configured
within the configuration file
• Extensibility:-
ASP.NET provides a number of options to create an extensible Web
application. For example, you create custom controls; extend the default Hypertext
Markup Language (HTTP) pipeline. Note that the path through which the data
flows from the client to the server is called the HTTP pipeline.
Programming Models in ASP.NET:-

1. Web Forms
2. Web Services

• Web Forms:-
Enable you to create the user interface for a Web application. You
use server to design the user interface of a web application and then write code that
will be executed at the server side, to handle the events triggered by these controls.
• Web Services:-
Enable you to remotely access certain function at the server
side. These services enable the exchange of data in a client to server or a server to
server environment over the Web by using the Simple Object Access Protocol
(SOAP).
Back End:-SQL Server 2005

INTRODUTION:-

The SQL language and relational database systems based on it are


one of the most important foundation technologies in the computer industry.
Over the last two decades, SQL has grown from its first commercial use into a
computer product and services market segment worth tens of billions of dollars
per year, and SQL stands today as the standard computer database language.
Literally hundreds of database products now support SQL, running on computer
systems from mainframes to personal computers and even handheld devices.

An official international SQL standard has been adopted and


expanded twice. Virtually every major enterprise software product relies on SQL
for its data management, and SQL is at the core of the database products from
Microsoft, Oracle, and IBM, the three largest software companies in the world.
SQL is also at the heart of open-source database products that are helping to fuel
the popularity of Linux and the open-source movement. From its obscure
beginnings as an IBM research project, SQL has leaped to prominence as both an
important computer technology and a powerful market force.

SQL FEATURES AND BENEFITS:-

SQL is both an easy-to-understand language and a comprehensive tool for


managing data. Here are some of the major features of SQL and the market
forces that have made it successful:

• Vendor independence
• Portability across computer systems
• SQL standards
• IBM endorsement and commitment (DB2)
• Microsoft commitment (SQL Server, ODBC, and ADO)
• Relational foundation
• High-level, English-like structure
• Interactive, ad hoc queries
• Programmatic database access
• Multiple views of data
• Complete database language
• Dynamic data definition
• Client/server architecture
• Enterprise application support
• Extensibility and object technology
• Internet database access
• Java integration (JDBC)
• Industry infrastructure

These are the reasons why SQL has emerged as the standard tool for managing
data on personal computers, minicomputers, and mainframes. They are described
in the sections that follow.

SQL STANDARDS:-

An official standard for SQL was initially published by the


American National Standards Institute (ANSI) and the International Standards
Organization (ISO) in 1986, and was expanded in 1989 and again in 1992 and 1999.
SQL is also a U.S. Federal Information Processing Standard (FIPS), making it a key
requirement for large government computer contracts. Over the years, other
international, government, and vendor groups have pioneered the standardization of
new SQL capabilities, such as call-level interfaces or object-based extensions. Many
of these new initiatives have been incorporated into the ANSI/ISO standard over
time. The evolving standards serve as an official stamp of approval for SQL and
have speeded its market acceptance.
FORMS USED IN SQL:-
1. Table:
A table is a fundamental building block of an access
database. All database must have at least one table because this where
the data is stored. Tables are grid of rows and columns. Each column in
a table is called a field. Each field contains a specific type of
information such as first name, last name, phone number, e-mail, date
of joining etc. Each row of many columns (fields) contains information
about one specific item, person or transaction.
2. Query:
A query is a filter though which data is evaluated you
can define a filter criteria in query and only those record which meet
this criteria are displayed. These are three types of queries. The
common type of query is a select which display a subset of the entire
data stored and selected using the criteria you specified. Examples if
simple query could be a list of all customers forms France only, a list of
only is employee whose last name is “Sharma”. We can build very
complex queries using combination of many different criteria. Action
queries-These queries create new tables or delete, append and update
records in existing tables.
3. Forms:
Forms are used to simplify data entry work or to display
information in a specific manner. Forms let use add, modify and delete
database data. In access we can create six different types of forms.
4. Report:
A report summarizes data in a format suitable for polishing
i.e. to view data on the screen or to print it on publishes it on web.
Report are used to and mages, even audio and video.
5. Data Access Page:
A data access page is a web HTML page created in access
that allows users to view, add or edit data stored in an access database.
Using data access pages you can easily create interactive forms for
users on a website.
6. Macro:
A macro is used to automate repetitive tasks. Basically any
operation that you do over again can be automated by creating a macro.
So that a click at a click of a button or pressing a particular key an
entire sequence of commands can be executed.

DESCRIPTION of SQL:-
The basic structure of the relational model is a table, consisting
of rows and columns. Data definition includes declaring the name of each table to be
included in a database, the names and data types of all columns of each table,
constraints on the values in and among columns, and the granting of table
manipulation privileges to prospective users. Tables can be accessed by inserting
new rows, deleting or updating existing rows, or selecting rows that satisfy a given
search condition for output. Tables can be manipulated to produce new tables by
Cartesian products, unions, intersections, joins on matching columns, or projections
on given columns.
SQL data manipulation operations may be invoked
through a cursor or through a general query specification. The language includes
all arithmetic operations, predicates for comparison and string matching, universal
and existential quantifiers, summary operations for max/min or count/sum, and
GROUP BY and HAVING clause to partition tables by groups. Transaction
management is achieved through COMMIT and ROLLBACK statements.
The standard provides language facilities for defining
application specific views of the data. Each view is the specification of database
operations that would produce a desired table. The viewed table is then
materialized at application execution time.

The SQL standard provides a Module Language for


interface to other languages. Each SQL statement may be packaged as a procedure
that can be called and have parameters passed to it from an external language. A
cursor mechanism provides row-at-a-time access from languages that can only
handle one row of a table at one time.
Access control is provided by GRANT and REVOKE
statements. Each prospective user must be explicitly granted the privilege to
access a specific table or view using a specific statement.
Project worked upon:-

In training schedule I worked on a website Sharebooks.com.


To create this website I used ASP.NET. In this website used many functionality like
that upload and download books.
Using this website we can upload and download books. I used visual
C# in my project.

Controls used in project:-


1. Label
2. Textbox
3. Button
4. Panel
5. Login
6. Image button

These controls are used for making the master page and other page in the project.

Label is used for writing the entry like that author name, password, user name etc. .

Textbox is used for writing the entry like that author name, password, user name
respectively level.

Button is used for the adding books , download books.

Login is used for to create the login form.


Coding for uploading books :-

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;

public partial class addbook : System.Web.UI.Page


{
protected void Page_Load(object sender, EventArgs e)
{

}
protected void btnAdd_Click(object sender, EventArgs
e)
{
SqlConnection con = new
SqlConnection(Database.ConnectionString);
try
{
con.Open();
SqlCommand cmd = new SqlCommand(" select
isnull(max(bookid),0) + 1 from books", con);
int bookid = (int)cmd.ExecuteScalar();

// upload file
String filename =
Request.PhysicalApplicationPath + "/books/" +
bookid.ToString() + ".pdf";
if (!FileUpload1.HasFile)
{
lblMsg.Text = "Please select a PDF file
to upload!";
return;
}

FileUpload1.SaveAs(filename);
// insert a row into BOOKS
cmd.CommandText = "insert into books
values(@bookid,@title,@author,@tid,@uid,getdate(),0,0,0,
0)";
cmd.Parameters.Add("@bookid",
SqlDbType.Int).Value = bookid;
cmd.Parameters.Add("@uid",
SqlDbType.Int).Value = Session["uid"];
cmd.Parameters.Add("@title",
SqlDbType.VarChar, 50).Value = txtTitle.Text;
cmd.Parameters.Add("@author",
SqlDbType.VarChar, 50).Value = txtAuthor.Text;
cmd.Parameters.Add("@tid",
SqlDbType.Int).Value = ddlTopic.SelectedItem.Value;
cmd.ExecuteNonQuery();
lblMsg.Text = "Book has been added
successfully!";
}
catch (Exception ex)
{
lblMsg.Text = "Error -->" + ex.Message;
}
finally
{
con.Close();
}

}
}
Coding for downloading books:-

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;

public partial class download : System.Web.UI.Page


{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack) // first request
Session.Add("bookid",
Request.QueryString["bookid"]);

}
protected void btnFeedback_Click(object sender,
EventArgs e)
{
if ( ddlRating.SelectedIndex == 0 )
{
lblMsg.Text = "Please select your rating!";
return;
}

// call storedprocedure for updation of book


SqlConnection con = new
SqlConnection(Database.ConnectionString);
try
{
con.Open();
SqlCommand cmd = new
SqlCommand("updatebookrating", con);
cmd.CommandType =
CommandType.StoredProcedure;

cmd.Parameters.Add("@bookid",
SqlDbType.Int).Value = Session["bookid"];
cmd.Parameters.Add("@rating",
SqlDbType.Char, 1).Value = ddlRating.SelectedItem.Value;

cmd.ExecuteNonQuery();
lblMsg.Text = "Thank you for your valuable
feedback!";

}
catch (Exception ex)
{
lblMsg.Text = "Error -->" + ex.Message;
}
finally
{
con.Close();
}

}
}
Firm:-
I make this project for NIIT.

Advantage :-
This project is extendable project. We can extend it for uploading and
downloading songs, vedio , images etc. .

Disadvantage :-
It is a small scale project. We can’t use for this large purpose.

Vous aimerez peut-être aussi