1synopsis lakhan

download 1synopsis lakhan

of 31

Transcript of 1synopsis lakhan

  • 8/8/2019 1synopsis lakhan

    1/31

    PROJECT REPORT

    Online Student Result Card

    TRAINING IN ASP.NET

    A Project Report submitted in partial fulfillment of therequirements for the degree of B.Tech (I.T)

    At

    Abeertech Software Solutions

    Submitted to:-Submitted by:-CSE/IT Department LakhanSharmaM.I.E.T Rollno. 3908412

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    2/31

    ShahbadInformation Technology

    Modern Institute of Engg. & TechnologyShahbad(Kurukshetra)

    INDEX

    Sr. No. Description

    1 Introduction to project/Overview

    2 Objective

    3 Business Functions

    4 Technologies to be used

    5 Description

    6 Platforms

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    3/31

    7 Language Runtime

    8 Conclusion

    9 Bibliography

    INTRODUCTION

    Project Title: Online Student Result Card

    Project Leader: Mr. Ajay AroraProject Duration: 6 Weeks

    Project category: Web Based Application

    The project named Online Student Result Card is developed

    using ASP.NET. This project has been developed in partial fulfillment of

    Requirements for the degree of B.Tech (2009-2012),Kurukshertra

    University.

    Online Student Result Card is basically a Web Application

    where a student can view his Result & some other related information.

    Proper log-in facilities are provided to the Administrator & other users

    such as Insertion of Student Records, Deletion & Updation etc. The

    primary feature of this online Student Result Card is high accuracy

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    4/31

    OBJECTIVES

    The objective of the system would be:

    1. To help the Students to confirm their Study Results.

    2. To provide appropriate forms for Insertion, Updation & Deletion

    of Student Records which are managed by Administrator.

    3. To provide the proper log-in facilities for Administrator & other

    Users.

    4. Database for the Student & Users view is based on selection.

    5. Database is updated at the end of each activity.

    6. To present the project in a simple & effective way.

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    5/31

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    6/31

    BUSINESS FUNCTIONS

    1. Login: To access this application, users would be required to

    login through a login screen. After authentication and login userwould be able to access only those areas for which permissions

    are given.

    2. Users Maintenance:That allows adding or updating the details

    of all users who are accessing this application.

    3. Search: That allows the user to search notices based onindividual user who issued notice or based on time when notice

    issued.

    4. Report: Reports of users & issued notices are to be generated.

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    7/31

    Online Student Result Card

    PLATFORM

    (Technologies/Tools)

  • 8/8/2019 1synopsis lakhan

    8/31

    System Requirements

    1. RAM Minimum 256 MB

    2. HARD DISK Min 4 GB Free

    3. PROCESSOR Minimum Pentium-III Processor

    4. MONITOR Colored with minimum 256 Colors

    5. PERIPHERALS As per requirements and norms.

    6. OPERATING SYSTEM Minimum Windows 2000 or Higher versions

    7. Software Specifications:

    Software plays an important role in any project development. One should understand

    that which software he/she should use to develop the project. Window XP was used

    as the operating system.

    The application has been developed using:

    Front end: ASP.Net

    Back end: MS-SQL

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    9/31

    About ASP.NET

    Introduction to ASP.NETIntroduction:-

    Active Server Pages (ASP) is a technology developed primarily by Microsoft to

    create dynamic web sites that allow a visitor to submit values to a web page.

    The web page would then transmit the results to a web server. This technology

    requires some use and knowledge of a scripting language such as VBScript or

    JavaScript. It is also easily understandable to Visual Basic programmers because

    both use the same approach to solve problems. To enhance it, Microsoft

    developed ASP.NET. This new approach allows you to use the .NET Framework

    and its rich features to create web-based applications.

    The .NET Framework is a library used to create both computer-based and web-

    based applications. It is made of different parts. The section that deals with

    computer applications is referred to as Windows Forms. The part dedicated to

    the web is called ASP.NET. Although these various sub-libraries make up the

    .NET Framework, you can create fully functional applications using only

    ASP.NET. One of the differences between ASP.NET and ASP is that ASP

    applications were mostly interpreted (except for some libraries (DLLs) that were

    working in the background at the server level during processing) by the browser

    while ASP.NET applications are compiled.

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    10/31

    ASP.NET Prerequisites:-

    To create ASP.NET applications, you must prepare your computer, the one you

    will be using to develop your applications. To start, your computer should run

    one of the following operating systems:

    * Microsoft Windows XP Professional

    * Microsoft Windows 2000 Server

    * Microsoft Windows Server 2003 (any version)

    Introduction to ASP.NET Files:-

    * An ASP.NET file is just the same as an HTML file

    * An ASP.NET file can contain HTML, XML, and scripts

    * Scripts in an ASP.NET file are executed on the server

    * An ASP.NET file has the file extension ".aspx"

    What is ASP+?

    ASP+ is the same as ASP.NET.

    ASP+ is just an early name used by Microsoft when they developed

    ASP.NET.The Microsoft .NET Framework

    The .NET Framework is the infrastructure for the Microsoft .NET platform.

    The .NET Framework is an environment for building, deploying, and

    running Web applications and Web Services.

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    11/31

    .NET Frameworks keywords:

    * Easier and quicker programming* Reduced amount of code

    * Richer server control hierarchy with events

    * Better support for development tools

    The .NET Framework consists of 3 main parts:

    1)Programming languages:

    * C# (Pronounced C sharp)

    * Visual Basic (VB .NET)

    * J# (Pronounced J sharp)

    2)Development environments:

    * Visual Studio .NET (VS .NET)

    ASP.NET Versions:-

    ASP.NET 2.0 improves upon ASP.NET by adding support for several new

    features.

    ASP.NET 3.0

    ASP.NET 3.0 is not a new version of ASP.NET.

    It's just the name for a new ASP.NET 2.0 framework library with support

    for Windows Presentation Foundation, Windows Communication

    Foundation.

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    12/31

    Differences between ASP and ASP.NET

    ASP.NET has :

    better language support,

    a large set of new controls

    XML based components

    better user authentication

    provides increased performance by running compiled code

    Higher scalability

    Easier configuration and deployment

    Language Support:-

    ASP.NET uses the new ADO.NET.

    ASP.NET supports full Visual Basic.

    ASP.NET supports C# (C sharp) and C++.

    ASP.NET supports JScript as before.

    ASP.NET Controls:-

    ASP.NET contains a large set of HTML controls scripts.

    ASP.NET also contains a new set of object oriented input controls like :

    programmable list boxes

    validation controls.

    data grid control supports sorting & data paging

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    13/31

    ASP.NET Components:-

    ASP.NET components are heavily based on XML.

    Like the new AD Rotator, that uses XML to store advertisement

    information and configuration.

    User Authentication

    SERVER SIDE CONTROLS

    1. Textbox control The textbox control can render any of the three

    different HTML tags. The control can used to display a standard HTML

    password input field, or an HTML text area. All the properties,

    methods, events of this control are listed below:-

    Autopostback :-when true automatically post the form containing

    the textbox whenever change is made to the contents of the

    textbox.

    Text mode : - specifies one of the possible values.

    2. Button controls: - You can add three types of buttons to a form using

    web controls.

    Button :- Displays a standard HTML form button.

    Image button : - Displays an image form button.

    Link button : - Displays hypertext link.

    All the properties and methods of these buttons are given below:-

    Text : - Sets or sets the text displayed on the buttons.

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    14/31

    On click : - raises the click event.

    3. Radio button: - Radio buttons represents a group if mutually

    exclusive options. Each radio button can either be checked or

    unchecked. No more then one radio button in a group can be checked

    or unchecked at the same time. All the properties and methods related

    to radio button are given below:-

    Autopostback : - When true, automatically post the form containing the radio

    buttons, whenever a change is made to the contents of the textbox.

    Checked: - Has the value true when the radio button is checked otherwise its

    false.

    Groupname : - Specifies the name of the group that contains the radio button.

    Text : - set or sets the text displayed on the button.

    4. Checkbox control: - you can change a checkbox to represent a

    simple yes or no value. If you group multiple check boxes together,

    you can use the checkboxes together, you can use the checkboxes to

    represent a list of non mutually exclusive options. Multiple check boxes

    can be checked at the same time. Following are the properties of the

    check box control:-

    Autopostback: - when true automatically post the form containing

    the checkboxest whenever a change is made to the contents of the

    textbox.

    Checked : - Has value true when the check box is checked otherwise

    false.

    Groupname: - specifies the name of the group that contains the

    check box.

    Text : - set or sets the text displayed on the button.

    5. Checkboxlist control: - Like the checkbox control represents the

    checkboxes. checkboxlist control represents a list of checkboxes. Each

    list item in a checkboxlistlist represents an individual checkbox. The

    properties are listed below:-

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    15/31

    Autopostback :- when true automatically post the form containing

    the checkboxlist, whenever a change is made to the contents of the

    textbox.

    VALIDATION CONTROLS:

    1. Required field validator: - Required field validator is a web form

    control used to check whether the control has value or not. We use it

    with a test box control, radio button and other input controls. Following

    are the properties of the required field validator control:

    Control to validate : Specifies the id of that control.

    Display property : Sets how the error message is contained in

    the text property.

    Error message : It displays the error message that is displayed in

    the validation summary.

    2. Range Validator: - It is used to check whether the value of the form

    field falls within specified minimum and maximum value. With this

    form you can check whether this form contains a date which falls

    within a specified range. Following are the properties of the range

    validator:

    Control to validate : Specifies the id of that control

    Display property : Sets how the error message is contained in the

    text property.

    Error message : It displays the error message that is displayed in

    the validation summary.

    Maximum value : Specifies the maximum value in the range of

    permissible value.

    Minimum Value : Specifies the minimum value in the range of

    permissible values.

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    16/31

    3. Compare Validator: - This validator is used to detect whether a value

    entered into a form field falls within a certain range determined by the

    values of other form fields rather using the range validator. The

    compare validator unlike the range validator is used to compare the

    values of different controls. Following are the properties of the

    compare validator:

    Control to validate : Specifies the id of that control

    Display property: Sets how the error message is contained in the

    text property

    Error message : It displays the error message that is displayed in

    the validation summary.

    Maximum value : Specifies the maximum value in the range of

    permissible value.

    Minimum Value : Specifies the minimum value in the range of

    permissible values.

    4. Regular Expression validator:- You can use the regular expression

    validator to match the value entered in the form field to regular

    expression. You can use this control to check whether the user has

    entered, for example, a valid e-mail address, telephone number,

    username or password. Following are the properties of a regular

    expression validator:

    Control to validate : Specifies the id of that control

    Display property : Sets how the error message is contained in the

    text property.

    Error message : It displays the error message that is displayed in

    the validation summary.

    Validation expression: Specifies the regular expression to use when

    performing validation.

    5. Validation Summary Control: - This control displays the error

    message of all the controls. The validation control can display the

    message with a

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    17/31

    header & list of errors depending on the value of display node. It

    summarizes all the errors at the top of the page or wherever u display.

    All the properties and methods of this control are given below:-

    Display mode : Sets the formatting for the error messages displayed

    by the control. Possible values are list, bullet list and single

    paragraph.

    Enable client script : Enables or disables client side validations. This

    property has value true by default.

    Enabled: Enables and disables both server and client validations.

    This is true by default.

    6. Custom validator control: - These controls are able to handle a wide

    range of validation task. Following are the properties , method ,

    events:-

    Display mode: Sets the formatting for error messages displayed by

    control. Possible values are bullet list, list and single paragraph.

    Enable client script: Enables or disables client side validations. This

    property has value true by default.

    Enabled: Enables and disables both server and client validations.

    This is true by default.

    Is valid: Has validation true when validation check succeeds.

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    18/31

    Requirement Analysis

    At the heart of system analysis is a detailed understanding of all important

    facets of business area under investigation. (For this reason, the process of

    acquiring this is often termed the detailed investigation) Analyst, working closely

    with the employees and managers, must study the business process to answerthese key questions:

    What is being done?

    How is it being done?

    How frequent does it occur?

    How great is the volume of transaction or decisions?

    How well is the task being performed?

    Does a problem exist?

    If a problem exist, how serious is it?

    If a problem exists, what is the underlying cause?

    Requirement analysis relies on fact-finding techniques. These include:

    Interview

    Questionnaires

    Record inspection

    On-site observation

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    19/31

    1.1The .NET Framework

    (pronounced dot net framework) defines the environment that you use

    to execute ASP .NET applications and the services you can use within

    those applications. One of the main goals of this framework is to make it

    easier to develop applications that run over the Internet.

    However, this framework can also be used to develop traditional business

    applications that run on the Windows desktop.

    To develop a ASP .NET application, you use a product called Visual

    Studio .NET (pronounced Visual Studio dot net). This is actually a suite

    of products that includes the three programming languages.

    Visual Studio also includes several other components that make it an

    outstanding development product. One of these is the Microsoft

    Development Environment, which youll be introduced to in a moment..

    Another is the Microsoft SQL Server 2005 Desktop Engine (or MSDE).

    MSDE is a database engine that runs on your own PC so you can use

    Visual Studio for developing database applications that are compatible

    with Microsoft SQL Server. SQL Server in turn is a database management

    system that can be used to provide the data for large networks of users or

    for Internet applications.

    Programming languages supported by Visual Studio .NET Language

    Description Visual Basic .NET designed for rapid application development.

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    20/31

    Visual C# .NET A new language that combines the features of Java and C+

    + and is suitable for rapid application development. Visual C++ .NET

    Microsofts version of C++ that can be used for developing high-

    performance applications. The .NET Framework provides a common set ofservices that application programs written in a .NET language such as

    Visual Basic .NET can use to run on various operating systems and

    hardware platforms.

    The .NET Framework is

    A component model for the internet

    The new approach to building large scale distributed systems for theInternet

    Provides the capability to integrate multiple devices.

    Built around the tools and protocols (XML, WSDL, SOAP, HTTP) that

    are becoming standard on the Internet.

    The .Net Framework Design Goals

    Component Development for the Internet

    Cross-Language Development

    Inheritance, Debugging, Exception handling

    Reliability and Security

    Simple Development and Deployment

    Device-agnostic

    The .NET Framework is divided into two main components:

    The .NET Framework Class Library

    The Common Language Runtime

    The .NET Framework Class Library consists of segments of pre-written

    code called classes that provide many of the functions that you need for

    developing .NET applications. For instance, the Windows Forms classes

    are used for developing Windows Forms applications. The ASP.NET classes

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    21/31

    are used for developing Web Forms applications. And other classes let you

    work with databases, manage security, access files, and perform many

    other functions.

    Although its not apparent in this figure, the classes in the .NET

    Framework Class Library are organized in a hierarchical structure. Within

    this structure, related classes are organized into groups called

    namespaces. Each namespace contains the classes used to support a

    particular function. For example, the System.Windows.Forms namespace

    contains the classes used to create forms and the System.Data

    namespace contains the classes you use to access data.

    The Common Language Runtime, or CLR, provides the services that

    are needed for executing any application thats developed with one of

    the .NET languages. This is possible because all of the .NET languages

    compile to a common intermediate language.

    The CLR also provides the Common Type System that defines the data

    types that are used by all the .NET languages. That way, you can use

    more than one of the .NET languages as you develop a single application

    without worrying about incompatible data types.

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    22/31

    Fig. 1

    Description: -

    .NET applications do not access the operating system or computer

    hardware directly. Instead, they use services of the .NET Framework,

    which in turn access the operating system and hardware.

    The .NET Framework consists of two main components: the .NET

    Framework Class Library and the Common Language Runtime.

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    23/31

    The .NET Framework Class Library provides pre-written code in the

    form of classes that are available to all of the .NET programming

    languages. This class library consists of hundreds of classes.

    The Common Language Runtime(CLR) is the foundation of the .NETFramework. It manages the execution of .NET programs by coordinating

    essential functions such as memory management, code execution,

    security, and other services. Because .NET applications are managed by

    the CLR, they are called managed applications.

    The Common Type System (CTS) is a component of the CLR that

    ensures that all .NET applications use the same basic data types

    regardless of what programming languages were used to develop the

    applications.

    Platforms that can run Visual Studio .NET

    Windows 2000 and later releases of Windows Platforms that can run

    Visual Studio .NET applications

    Windows 98 and later releases of Windows, depending on which .NET

    components the application uses Visual Basic .NET Standard Edition

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    24/31

    An inexpensive alternative to the complete Visual Studio .NET package

    that supports a limited version of Visual Basic .NET as its only

    programming language

    Description: -

    The .NET Framework defines the environment that you use for executing

    Visual Basic .NET applications.

    Visual Studio .NET is a suite of products that includes all three of the

    programming

    Languages listed above. These languages run within the .NET Framework.

    You can develop business applications using either Visual Basic .NET or

    Visual C# .NET.

    Both are integrated with the design environment, so the development

    techniques are similar although the language details vary.

    Besides the programming languages listed above, third-party vendors

    can develop

    languages for the .NET Framework. However, programs written in these

    languages cant be developed from within Visual Studio .NET.

    The Common Language Runtime (CLR)

    One of the major components of the .NET Framework is the Common

    Language Runtime, or CLR. The CLR provides a number of benefits to the

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    25/31

    developer, such as exception handling, security, debugging, and

    versioning, and these benefits are available to any language built for the

    CLR. This means that the CLR can host a variety of languages, and can

    offer a common set of tools across those languages. Microsoft has madeVB, C++, and C# premier languages for the CLR, which means that

    these three languages fully support the CLR. In addition, other vendors

    have signed up to provide implementations of other languages, such as

    Perl, Python, and even COBOL.

    When a compiler compiles for the CLR, this code is said to be managed

    code. Managed code is simply code that takes advantage of the services

    offered by the CLR. For the runtime to work with managed code, that code

    must contain metadata. This metadata is created during the compilation

    process by compilers targeting the CLR. The metadata is stored with the

    compiled code and contains information about the types, members, and

    references in the code. Among other things, the CLR uses this metadata

    to

    Locate classes

    Load classes

    Generate native code

    Provide security

    The runtime also handles object lifetimes. Just as COM/COM+ provided

    reference counting for objects, the CLR manages references to objects

    and removes them from memory when all the references are gone,

    through the process known as garbage collection.

    Instances of objects you create that are managed by the runtime are

    called managed data. You can interact with both managed and

    unmanaged data in the same application, although managed data gives

    you all the benefits of the runtime.

    The CLR defines a standard type system to be used by all CLR languages.

    This means that all CLR languages will have the same size integers and

    longs, and they will all have the same type of stringno more worrying

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    26/31

    about BStrs and CStrs! This standard type system opens up the door for

    some powerful language interoperability.

    For example, you can pass a reference of a class from one component toanother, even if those components are written in different languages. You

    also can derive a class in C# from a base class written in VB.NET, or any

    other combination of languages targeted to the runtime. Dont forget that

    COM had a set of standard types as well, but they were binary standards.

    This meant that with COM, you had language interoperability at run time.

    With NETs type standard, you have language interoperability at design

    time.

    After it is compiled, managed code includes metadata, which contains

    information about the component itself, and the components used to

    create the code. The runtime can check to make sure that resources on

    which you depend are available. The metadata removes the need to store

    component information in the registry. That means moving a component

    to a new machine does not require registration and removing components

    is as simple as deleting them.

    The Common Language Runtime provides a number of benefits that are

    not only new, but should enhance the experience of building applications.

    Other benefits that you will see in more detail include some of the new

    object-oriented features to VB.NET. Many of these new features are not so

    much additions to the language as they are features of the runtime that

    are simply being exposed to the VB.NET.

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    27/31

    Online Student Result Card

    Coding

  • 8/8/2019 1synopsis lakhan

    28/31

    Online Student Result Card

    Snap-Shots

  • 8/8/2019 1synopsis lakhan

    29/31

    Online Student Result Card

    Tables

  • 8/8/2019 1synopsis lakhan

    30/31

    CONCLUSION

    The speed and accuracy are maintained in proper way. The user-friendly

    nature of this software developed in ASP.NET is very easy to work with

    both the higher management as well as other users with little knowledge

    of computer. The results obtained were fully satisfactory from the user

    point of view. The system was verified with valid as well as invalid data in

    each manner.

    Online Student Result Card

  • 8/8/2019 1synopsis lakhan

    31/31

    BIBLIOGRAPHY

    Websites: -

    1. www.asp.net2. www.w3schools.com3. www.worldofasp.net

    http://www.asp.net/http://www.w3schools.com/http://www.worldofasp.net/http://www.asp.net/http://www.w3schools.com/http://www.worldofasp.net/