25
Presentation

NET presentation

Embed Size (px)

Citation preview

Page 1: NET presentation

Presentation

Page 2: NET presentation

What is the .Net Framework Primarily a development platform (mostly effects

application development)

Consists of two main parts

Common Language Runtime

.Net Framework Class Library

Page 3: NET presentation

CLR (Common Language Runtime) Provides a “runtime environment” for the execution of

code written in ANY .Net Language

“Manages”

The overall execution of .Net code

Inheritance, Memory, Debugging, and application development across Multiple languages

Page 4: NET presentation

Compilation of .Net code All .Net languages are first compiled into an intermediate

language called MSIL or IL (Microsoft Intermediate Language)

The MSIL is then “Just In Time” (JIT) compiled at first execution of the code and managed by the CLR

All MSIL or IL code can be compiled directly to native code with the following Compiling native code will provide faster startup execution of the

code Performance during execution of the code will then be sacrificed During JIT Optimization is placed on the Managed Code in order to

improve performance at the time of execution

Page 5: NET presentation

Code Compilation In .net

Page 6: NET presentation

.Net Framework Class Library Provide a library of base classes that developers can

use in their own applications written in ANY .Net language

Because of the use of these base classes, Inheritance can then be extensively used in languages that use the .Net Framework

Page 7: NET presentation

Visual Basic .NetGeneral Features

Additional Features of VB .Net

Page 8: NET presentation

General features It is an object oriented language

Students do better with this subject when they have a firm understanding of objects

In the past VB had objects but focus was not placed on them VB .Net use objects and inheritance with everything

Uses exception handling extensively New techniques are shown to the student for providing feedback

from their programs in order to help trouble shoot errors Like with most OOP languages, exceptions that are not handled will

cause programs to abnormally end or exit Uses “generics” with creating classes and Sub programs

Can use the top data type on inheritance of type Object Used for late binding of data types and is quite useful when

implementing stacks or queues of any data type (.Net 2.0) Provides a quick way to develop heavy duty applications in a

windowing environment It is a useful tool for developing event driven programs

Page 9: NET presentation

Additional Feature of VB .Net Can create both windows applications and web applications at the click

of a mouse button The interface between the Databases and applications

Are the same between web apps and windows apps All data are transferred between the apps in XML format regardless if it is a

web application or a windows application A copy of the data from the database is loaded into a data set. Persistent connections between the application and the database no longer

exists

Every form is a class and new forms now have to be instantiated VB .Net is still not case sensitive

Page 10: NET presentation

The Introduction to VB .Net

Data Types in VB .Net

Functions and Sub Procedures

Page 11: NET presentation

Data Types in VB .Net Data Types and possible values

Integer -> -2,147,483,648 (4 bytes) Double -> floating point numbers with 14 digits of accuracy

(8 Bytes) Decimal -> decimal values ( 16 bytes replaced currency in 6.0) Date -> the date (8 Bytes) Byte -> 0 to 255 (1 Byte) Char -> Unicode character (2 Bytes) Boolean ->True or false value (2 Bytes) Single -> floating point number with 6 digits of accuracy (4 bytes) Short -> 2 byte integer Long -> 8 byte integer String -> an arrangement of alpha-numeric characters varies in

length Object -> any data type 4 bytes

Page 12: NET presentation

Functions and Sub procedures / Programs in VB .Net (Methods) Functions and sub procedures must either have a sub or function

keyword in the function or sub procedure heading They can be either public or private (following the same conventions in

OOP languages such as C++ or Java) All parameters are passed by value by default in VB .Net Parameters of any data type may be passed by reference All Objects and arrays are passed by reference not value All events are handled by a sub procedure in VB .Net Functions return a value and Sub Procedures do Not

Page 13: NET presentation

Microsoft SQL Basics Differences between MS SQL and Access

Advantages of MS SQL

Page 14: NET presentation

Differences between MS SQL and Access SQL More Powerful than MS Access

Larger data types are available

Connection over a network provide access to multiple clients

A client is required to connect to the SQL Database

Page 15: NET presentation

Advantages of MS SQL Can handle multiple users at one time

Ideal for web sites and web applications

Contain the BLOB (Binary Large Object) which enables a user to store images in a database

Larger numeric values can be stored in each field

Page 16: NET presentation

Project Introduction

Hosiery Management System

Page 17: NET presentation

PurposeA Hosiery Management system is a Software that allows the Hosiery Admin to Add, Delete and Update Design The Purpose of making this project is to allow the Admin of Hosiery or Factory to Manage all the parties, Design , Items , Employees . It allow the Admin or the User Privileged by Admin to Add Design, Update Design, Delete Design, Add Party, Update Party, Delete Party, Add Item , Update Item, Delete Item, Add User , Change Password etc

Page 18: NET presentation

Drawbacks Of Existing System

Existing system is made in downgrade visual basic 6

It does not have Multi User Functionality

Employee Attendance Procedure is Time Consuming

Page 19: NET presentation

Proposed System Multi user Account For user with Privileges

Provided by Admin

Admin Panel In Admin Account

Easy and Less Time Consuming Attendance Procedure

Comparatively Fast as .net Framework is used

Page 20: NET presentation

MDI Parent Form

Page 21: NET presentation

Add New Design Form

Page 22: NET presentation

Add New Challan Form

Page 23: NET presentation

Party Challan Working

Page 24: NET presentation

Job Sheet Form

Page 25: NET presentation

THANK YOU