This action might not be possible to undo. Are you sure you want to continue?
E-CONNECTIONS is a web based application through which user can effectively use the benefits of Telephone Provider The project entitled “E-CONNECTIONS” deals with fully automated system used by the Telecom department. Telecom industry is one of the major sectors, which provides so many services to their customers such as request for a new connection, change of number, billing etc. Maintaining all these services manually is complicated process. The main objective of this project is to automate the services provided by telecom system, by which customer can use all the services online.
We are going to build an automated system where user can online apply for phone connections and they can view their telephone bills and they can also post the complaints details.
The system after careful analysis has been identified to be presented with the following modules.
The modules involved are: • • • • • • User module Admin module Authentication module Registration module Service module Reports module
In this module customer can apply new connection by filling the form.User can also pay the bills through credit cards, debit cards or through DD’s .
Admin is the one who maintains all the site details and manages users.Admin assigns phone numbers to the users who applied for new connection. He also view all the details provided in the site.
This module describes checking and validating user id and password from database. It checks whether the person is valid or not.
This module describes all the registration details about client. Every user who wants to use the service should enter valid details.
In this module the telephone exchange authority sends the service man. It tells us about the details of service man. Name of service man, at what time he come and repair the distributed connection.
This module helps administrator to generate various reports.These reports can be preserved for further reference.
OPERATING PLATFORM DATA BASE APPLICATION SERVER LANGUAGE TECHNOLOGY IDE : WINDOWS XP/2000/NT : : : : : SQL SERVER 2000 Internet Information services (IIS) .NET(C#) ASP.NET Visual Studio 2008
PROCESSOR SPEED HARD DISK RAM MONITOR KEYBOARD MOUSE : : : : : : : Pentium IV or more 233 MHz 40GB (minimum) 512MB STD color (15”) 108(standard) Any
The existing system is a manual one where the entrant has to go to the E-CONNECTOINS System and get details of the company for getting the new connection. Here it is getting a tedious one for the user to go and manually register with it. And in the process only a few users are take the connection. To over come this they have proposed for the online Connection.
The previous system was a manual system. So, the system is not available to all globally. To make the system available globally, it is now proposed to be web enabled. In the existing manual process entrants can not get the information of all the telecom system where by registering with E-CONNECTIONS System they can get the updated share values and also since the registration process is atomized, participation in Connection is easy to the entrants.
The proposed system is the online registration of the entrants with the company. By atomizing this Connection process, the entrants enjoy the facility to participate from anywhere. Entrants can also get the information online about all the telecom system. By this process the user can get all the information of the Connection process from where ever he wants as there is no need for him to come to the office and register for Connection. Thus the proposed system is efficient all the way.
SYSTEM DEVELOPMENT ENVIRONMENT
The .NET Framework is a new computing platform that simplifies application development in the highly distributed environment of the Internet. The .NET Framework is designed to fulfill the following objectives:
To provide a consistent object-oriented programming environment whether object code is stored and executed locally, executed locally but Internet-distributed, or executed remotely.
To provide a code-execution environment that minimizes software deployment and versioning conflicts. To provide a code-execution environment that guarantees safe execution of code, including code created by an unknown or semi-trusted third party. To provide a code-execution environment that eliminates the performance problems of scripted or interpreted environments. To make the developer experience consistent across widely varying types of applications, such as Windows-based applications and Web-based applications. To build all communication on industry standards to ensure that code based on the .NET Framework can integrate with any other code.
The .NET Framework has two main components: the common language runtime and the .NET Framework class library. The common language runtime is the foundation of the .NET Framework. You can think of the runtime as an agent that manages code at execution time, providing core services such as memory management, thread management, and remoting, while also enforcing strict type safety and other forms of code accuracy that ensure security and robustness. In fact, the concept of code management is a fundamental principle of the runtime. Code that targets the runtime is known as managed code, while code that does not target the runtime is known as unmanaged code. The class library, the other main component of the .NET Framework, is a comprehensive, object-oriented collection of reusable types that you can use to develop applications ranging from traditional command-line or graphical user interface (GUI) applications to applications based on the latest innovations provided by ASP.NET, such as Web Forms and XML Web services.
thereby creating a software environment that can exploit both managed and unmanaged features. The illustration also shows how managed code operates within a larger architecture. or other sensitive functions. thread execution. enterprise network. The . or local computer). depending on a number of factors that include their origin (such as the Internet. server-side environment for managed code. These features are intrinsic to the managed code that runs on the common language runtime. compilation. but with significant improvements that only managed code can offer.NET hosts the runtime to provide a scalable. even if it is being used in the same active application.NET Framework can be hosted by unmanaged components that load the common language runtime into their processes and initiate the execution of managed code. ASP. both of which are discussed later in this topic. code safety verification. such as semitrusted execution and secure isolated file storage. users can trust that an executable embedded in a Web page can play an animation on screen or sing a song. The runtime enforces code access security. and other system services. Using Internet Explorer to host the runtime enables you to embed managed components or Windows Forms controls in HTML documents. Hosting the runtime in this way makes managed mobile code (similar to Microsoft® ActiveX® controls) possible.NET works directly with the runtime to enable Web Forms applications and XML Web services. For example. code execution. For example. The following illustration shows the relationship of the common language runtime and the class library to your applications and to the overall system. managed components are awarded varying degrees of trust. but also supports the development of third-party runtime hosts. but cannot access .The . Internet Explorer is an example of an unmanaged application that hosts the runtime (in the form of a MIME type extension). With regards to security. ASP.NET Framework not only provides several runtime hosts. This means that a managed component might or might not be able to perform file-access operations. Features of the Common Language Runtime The common language runtime manages memory. registry-access operations.
For example. The security features of the runtime thus enable legitimate Internet-deployed software to be exceptionally feature rich.and codeverification infrastructure called the common type system (CTS). greatly easing the migration process for existing applications. The runtime is designed to enhance performance. A feature called just-in-time (JIT) compiling enables all managed code to run in the native machine language of the system on which it is executing. such as Microsoft® SQL Server™ and Internet Information Services (IIS). Interoperability between managed and unmanaged code enables developers to continue to use necessary COM components and DLLs. While the runtime is designed for the software of the future. the runtime automatically handles object layout and manages references to objects. Finally.their personal data. and components written in other languages by other developers. yet take full advantage of the runtime. In addition. the managed environment of the runtime eliminates many common software issues. Language compilers that target the . the class library. while strictly enforcing type fidelity and type safety.NET Framework make the features of the . This infrastructure enables . This automatic memory management resolves the two most common application errors. For example.NET Framework available to existing code written in that language. programmers can write applications in their development language of choice. file system. or network. managed code is never interpreted. The runtime also accelerates developer productivity. Although the common language runtime provides many standard runtime services. server-side applications. Meanwhile. it also supports software of today and yesterday. the runtime can be hosted by high-performance. releasing them when they are no longer being used. The runtime also enforces code robustness by implementing a strict type. Any compiler vendor who chooses to target the runtime can do so. The CTS ensures that all managed code is self-describing. memory leaks and invalid memory references. This means that managed code can consume other managed types and instances. the memory manager removes the possibilities of fragmented memory and increases memory locality-of-reference to further increase performance. The various Microsoft and third-party language compilers generate managed code that conforms to the CTS.
. the . but also reduces the time associated with learning new features of the .NET Web Form application. you can use the Web Forms classes.you to use managed code to write your business logic.NET Framework. database connectivity. . Your collection classes will blend seamlessly with the classes in the . third-party components can integrate seamlessly with classes in the . For example.NET Framework. Windows services. Windows GUI applications (Windows Forms). the . the class library includes types that support a variety of specialized development scenarios.NET applications. For example. In addition to these common tasks.NET Framework to develop the following types of applications and services: • • • • • • Console applications.NET Framework types easy to use.NET Framework. This not only makes the . providing types from which your own managed code can derive functionality.NET Framework types enable you to accomplish a range of common programming tasks. In addition.NET Framework class library is a collection of reusable types that tightly integrate with the common language runtime. For example.NET Framework Class Library The . As you would expect from an object-oriented class library. XML Web services. including tasks such as string management. The class library is object oriented. while still enjoying the superior performance of the industry's best enterprise servers that support runtime hosting. If you write an ASP. you can use the . Scripted or hosted applications.NET Framework collection classes implement a set of interfaces that you can use to develop your own collection classes. the Windows Forms classes are a comprehensive set of reusable types that vastly simplify Windows GUI development. and file access. ASP. data collection.
This means that binary or natively executing code can access some of the resources on the user's system (such as GUI elements and limited file access) without being able to access or compromise other resources. These are the types of applications that display windows or forms on the desktop. For example.NET Framework provides simple properties to adjust visual attributes associated with forms. Client applications include applications such as word processors and spreadsheets. enabling a user to perform a task. menus.NET Framework integrates the developer interface. This application is much like other client applications: it is executed natively. In some cases the underlying operating system does not support changing these attributes directly. and includes graphical elements. buttons. the . making coding simpler and more consistent. toolbars. The . buttons. Because of code access security. reporting tools.NET Framework are designed to be used for GUI development. menus. and so on. and in these cases the .NET Framework incorporates aspects of these existing products into a single. and other screen elements with the flexibility necessary to accommodate shifting business needs. consistent development environment that drastically simplifies the development of client applications. Client applications usually employ windows. The Windows Forms classes contained in the . has access to local resources. Windows Forms controls have semi-trusted access to a user's computer.NET Framework automatically recreates the forms. as well as custom business applications such as data-entry tools. and they likely access local resources such as the file system and peripherals such as printers. This is one of many ways in which the . Another kind of client application is the traditional ActiveX control (now replaced by the managed Windows Forms control) deployed over the Internet as a Web page. You can easily create command windows. In the past. developers created such applications using C/C++ in conjunction with the Microsoft Foundation Classes (MFC) or with a rapid application development (RAD) environment such as Microsoft® Visual Basic®. Unlike ActiveX controls.Client Application Development Client applications are the closest to a traditional style of application in Windows-based programming. many applications . and other GUI elements.
XML Web services. or even other XML Web services.NET Framework. unlike Web-based applications. This model provides you with all the features of the common language runtime and class library while gaining the performance and scalability of the host server. Both Web Forms and XML Web services use IIS and ASP.NET is more than just a runtime host. Instead. serverside application components similar to common Web sites. Server-Side Managed Code ASP. However.NET is the hosting environment that enables developers to use the . which allows your custom managed code to control the behavior of the server. Server Application Development Server-side applications in the managed world are implemented through runtime hosts. Unmanaged applications host the common language runtime. As a result. such as traditional client applications.NET Framework to target Web-based applications.NET as the publishing mechanism for applications. and both have a collection of supporting classes in the . Web-based applications. are distributed. XML Web services consist of reusable software components designed to be consumed by other applications. XML Web services components have no UI and are not targeted for browsers such as Internet Explorer and Netscape Navigator. Servers such as IIS and SQL Server can perform standard operations while your application logic executes through the managed code. an important evolution in Web-based technology. However. . The following illustration shows a basic network schema with managed code running in different server environments.that once needed to be installed on a user's system can now be safely deployed through the Web. XML Web services technology is rapidly moving application development and deployment into the highly distributed environment of the Internet. ASP. it is a complete architecture for developing Web sites and Internet-distributed objects using managed code. Your applications can implement the features of a local application while being deployed like a Web page.
NET Framework is built on these standards to promote interoperability with non-Microsoft solutions. and produce C# or Visual Basic source code that your application can use to become a client of the XML Web service. and XML. you will immediately notice the improvements that ASP. without concerning yourself with the communications infrastructure required by distributed software development. such as SOAP. .NET Framework. parse its WSDL description. Finally.NET Framework SDK can query an XML Web service published on the Web.NET pages are faster. the Web Services Description Language tool included with the . Using those classes enables you to focus on the logic of your service. XML (an extensible data format). you can develop Web Forms pages in any language that supports the . The source code can create classes derived from classes in the class library that handle all the underlying communication using SOAP and XML parsing.NET Framework.NET Framework also provides a collection of classes and tools to aid in development and consumption of XML Web services applications. XML Web services are built on standards such as SOAP (a remote procedure-call protocol). more functional.NET Framework provides a set of classes that conform to all the underlying communication standards. your code no longer needs to share the same file with your HTTP text (although it can continue to do so if you prefer). like any other managed application. For example. unmanaged ASP pages are always scripted and interpreted. like Web Forms pages in the managed environment. If you develop and publish your own XML Web service. the . ASP. For example. Although you can use the class library to consume XML Web services directly. and easier to develop than unmanaged ASP pages because they interact with the runtime like any managed application. The . Web Forms pages execute in native machine language because. the Web Services Description Language tool and the other tools contained in the SDK facilitate your development efforts with the . they take full advantage of the runtime.If you have used earlier versions of ASP technology. In addition. and WSDL ( the Web Services Description Language). In contrast. your XML Web service will run with the speed of native machine language using the scalable communication of IIS.NET and Web Forms offers. WSDL. The .
NET: Since 1995. However. Microsoft introduced ASP (Active Server Pages) in November 1996.NET Framework was introduced with a vision to create globally distributed software with Internet functionality and interoperability. Glaserweb.NET. Developing Internet applications with the . is a programming framework used to create enterpriseclass Web Applications.NET technology. as applications grew bigger in size and became more complex.NET is Microsoft's new programming technology. The .NET : ASP. opening up new possibilities for web development WHY ASP. an architecture was needed that would allow development of Web applications in a structured and consistent way.NET development is not as rapid (leading to higher production costs).NET ASP. software integration for Web development was complicated and required to understand many different technologies. which is now gaining acceptance and momentum. it will completely replace standard ASP. Soon. While . As a result. The advantages ASP. The .NET is a set of web development technologies marketed by Microsoft. it is significantly more stable. Microsoft has been constantly working to shift it's focus from Windows-based platforms to the Internet.ASP. and is fully ready for this switch. Therefore. These applications are accessible on a global basis leading to efficient information management.com is already up to speed with .NET Framework is very .NET offers are more than just the next version of ASP. includes multiple language support and a common execution platform. ASP offered the efficiency of ISAPI applications along with a new level of simplicity that made it easy to understand and use. It's a very flexible foundation on which many different types of top class applications can be developed that do different things. Also. the next version of ASP. DEFINITION OF ASP. ASP script was an interpreted script and consisted unstructured code and was difficult to debug and maintain.NET Framework consists of many class libraries. As the web consists of many different technologies. Programmers can use this set of technologies to build web applications and XML web services. the number of lines of source code in ASP applications increased dramatically and was hard to maintain. and runs much faster than older programming technologies.
For example. . and caching services right out of the box. and automatic deployment are just a few of the features this powerful tool provides. • Power and Flexibility. Because ASP. the common language runtime simplifies development. ASP. The . • World-Class Tool Support. from simple form submission and client authentication to deployment and site configuration. ASP. the power and flexibility of that entire platform is available to Web application developers. ASP.NET makes it easy to perform common tasks. we can create ASP. just-in-time compilation. Additionally. WYSIWYG editing.NET can take advantage of early binding.NET is based on the common language runtime.NET Framework class library.NET. drag-and-drop server controls.like forms processing model. Messaging. native optimization. This amounts to dramatically better performance before you ever write a line of code. ASP. the ASP. The ASP.NET is built into this framework. Visual Basic .NET is also language-independent.NET framework is complemented by a rich toolbox and designer in the Visual Studio integrated development environment.NET page framework allows you to build user interfaces that cleanly separate application logic from presentation code and to handle events in a simple.easy. common language runtime interoperability guarantees that your existing investment in COM-based development is preserved when migrating to ASP.NET is compiled common language runtime code running on the server. Unlike its interpreted predecessors. ASP. so you can choose the language that best applies to your application or partition your application across many languages. with managed code services such as automatic reference counting and garbage collection.NET applications using any of the built-in languages. and Data Access solutions are all seamlessly accessible from the Web. ADVANTAGES: • Enhanced Performance. • Simplicity. Further.
ASP.NET Framework applications as well.• Manageability. a new process can be created in its place. In particular. No server restart is required. An ASP. Intended as a logical evolution of ASP (ASP.NET delivers a well-factored architecture that allows developers to "plug-in" their code at the appropriate level.NET Web Forms? The ASP. with features specifically tailored to improve performance in clustered and multiprocessor environments.NET Web Forms page framework is a scalable common language runtime programming model that can be used on the server to dynamically generate Web pages. Because configuration information is stored as plain text. deadlocks).NET runtime with your own custom-written component. With built in windows application and per-application configuration. which simplifies applying settings to your server environment and Web applications. ASP. even to deploy or replace running compiled code. • Security. new settings may be applied without the aid of local administration tools. it is possible to extend or replace any subcomponent of the ASP. which helps keep your application constantly available to handle requests. the ASP. it provides: . In fact.NET Web Forms framework has been specifically designed to address a number of key deficiencies in the previous model. so that if one misbehaves (leaks.NET provides syntax compatibility with existing pages). processes are closely monitored and managed by the ASP. • Scalability and Availability. Further.NET employs a text-based. hierarchical configuration system. Implementing custom authentication or state services has never been easier.NET Framework application is deployed to a server simply by copying the necessary files to the server. What is ASP. This "zero local administration" philosophy extends to deploying ASP. ASP.NET runtime.NET has been designed with scalability in mind. • Customizability and Extensibility. you can be assure that your applications are secure.
NET Framework class.NET supports two methods of authoring dynamic pages.NET Web Forms pages are text files with an . The first is the method shown in the preceding samples. An alternative approach--known as the code-behind method-enables the page code to be more cleanly separated from the HTML content into an entirely separate file.• The ability to create and use reusable UI controls that can encapsulate common The ability for developers to cleanly structure their page logic in an orderly The ability for development tools to provide strong WYSIWYG design support functionality and thus reduce the amount of code that a page developer has to write.aspx (no modification of code is required).NET page can be created simply by taking an existing HTML file and changing its file name extension to .aspx resources. For example.aspx file is compiled only the first time it is accessed. (Note that the . where the page code is physically declared within the originating . This class can then be used to dynamically process incoming requests. An ASP. • for pages (existing ASP code is opaque to tools). the ASP. • fashion (not "spaghetti code"). the compiled type instance is then reused across multiple requests).aspx file.aspx file. ASP.NET Server Controls . the following sample demonstrates a simple HTML page that collects a user's name and category preference and then performs a form postback to the originating page when a button is clicked: ASP. They can be deployed throughout an IIS virtual root directory tree.NET provides syntax compatibility with existing ASP pages. When a browser client requests . These code blocks execute in a top-down manner at page render time. This includes support for <% %> code render blocks that can be intermixed with HTML content within an . Code-Behind Web Forms ASP.aspx file name extension. Introduction to ASP.NET runtime parses and compiles the target file into a .
In addition to (or instead of) using <% %> code blocks to program dynamic content.NET server controls provide an easy way to encapsulate common functionality. the following sample demonstrates how the <asp:adrotator> control can be used to dynamically display rotating ads on a page.Web.NET ships with 45 built-in server controls. 8.NET page developers can use ASP. ASP. ASP. Server controls are declared within an . Server controls automatically maintain any client-entered values between round trips to the server. ASP. ASP. 2. 6.UI. ASP.HtmlControls. ASP.NET validation controls provide an easy way to do declarative client or server data validation.NET enables developers to utilize richer custom controls on their pages.Web. For example.NET Web Forms provide an easy and powerful way to build dynamic Web UI. 1. 5. ASP. ASP. ASP. ASP.HtmlControls namespace.NET templates provide an easy way to customize the look and feel of list server controls.HtmlGenericControl. This control state is not stored on the server (it is instead stored within an <input type="hidden"> form field that is round-tripped between requests).NET Web Forms pages can target any browser client (there are no script library or cookie requirements). 7. Developers can also use controls built by third parties.NET . ASP. Intrinsic HTML tags are handled by one of the controls in the System.NET Web Forms pages provide syntax compatibility with existing ASP pages. Any tag that doesn't explicitly map to one of the controls is assigned the type of System.NET ARCHITECTURE: ASP. Note also that no client-side script is required. 4. 3.aspx file using custom tags or intrinsic HTML tags that contain a runat="server" attribute value.NET server controls to program Web pages. In addition to supporting standard HTML input controls.NET server controls can automatically project both uplevel and downlevel HTML.UI.
State management services for ASP.NET cache. which compiles and manages the execution of ASP.NET application can be created using any . ASP. The . The cache allows for improved performance of ASP.Net and why you will want an ASP.ADO.NET provides ASP. we are going to discuss the advantages of using ASP.NET uses ISAPI to run on the Internet Information Server (IIS) in Windows 2000 Server. ASP.NET code. ASP. The configuration of ASP.NET language. In this issue of Better Web Design.NET is managed by information stored in XML-format in a configuration file.NET or Visual C#. which offer pre-built programmatic functionality for Web Forms. XML support.NET Framework. and exception handling.NET Provides advanced capabilities. such as Visual Basic.NET state service.ASP. as the most commonly requested pages would be served from the ASP.NET.NET are provided by the ASP.NET is an important component of . such as efficient database access and easy-to-use Application and Session state capabilities.Net programmer for your next web development project Application Architecture is the most important process of developing a good application. and the class libraries.NET with connections to databases .ASP.Net is the latest Microsoft programming framework that allows for the rapid development of powerful web applications. NET.NET Framework provides the Common Language Runtime (CLR).
statelessness. Key new ADO. ADO. such as the Connection and Command objects. It was designed specifically for the web with scalability. .NET objects include the DataSet.ACTIVE X DATA OBJECTS.NET ADO. and DataAdapter. and XML in mind. DataReader.NET is an evolution of the ADO data access model that directly addresses user requirements for developing scalable applications. and also introduces new objects.NET OVERVIEW: ADO.NET uses some ADO objects.
it is manipulated through the same set of standard APIs exposed through the DataSet and its subordinate objects. These objects are: • Connections.NET and previous data architectures is that there exists an object -.NET Data Providers (System. and so forth.OleDb and System. While the DataSet has no knowledge of the source of its data. relational. It accomplishes this by means of requests to the appropriate SQL commands made against the data store.Net Framework provide four basic objects: the Command. In the remaining sections of this document.Data. views. and hierarchical. The role of the managed provider is to connect. it connects back to the database to update the data there. DataReader and DataAdapter. The OLE DB and SQL Server . which provides a bridge to retrieve and save data between a DataSet and its source data store. . No matter what the source of the data within the DataSet is. It does this by having no 'knowledge' of the source of its data. The XML-based DataSet object provides a consistent programming model that works with all models of data storage: flat.Data. The following sections will introduce you to some objects that have evolved.the DataSet -. data processing is turning to a message-based approach that revolves around chunks of information. In the past.The important distinction between this evolved stage of ADO. there are tables. we'll walk through each part of the DataSet and the OLE DB/SQL Server . You can think of the DataSet as an always disconnected recordset that knows nothing about the source or destination of the data it contains. based on operations performed while the DataSet held the data. Then.NET Data Providers explaining what they are. A DataAdapter is the object that connects to the database to fill the DataSet. Because of that. and some that are new. At the center of this approach is the DataAdapter. columns. the managed provider has detailed and specific information.that is separate and distinct from any data stores. For connection to and managing transactions against a database. and by representing the data that it holds as collections and data types. data processing has been primarily connection-based. relationships. fill.SqlClient) that are part of the . Inside a DataSet. constraints. and persist the DataSet to and from data stores. and how to program against them. much like in a database. Now. in an effort to make multi-tiered apps more efficient. Connection. the DataSet functions as a standalone entity.
DataReaders. These are written to talk directly to Microsoft SQL Server. A DataReader object is returned after executing a command against a database. remoting and programming against flat data. The OLE DB . .SqlClient) and OLE DB . XML data DataAdapters. you might use the DataReader to show the results of a search list in a web page. an UPDATE statement.OleDb). For example. The format of the returned DataReader object is different from a recordset. there are two different options: SQL Server . A command can be a stored procedure call. and are represented by provider-specific classes such as SQLCommand.NET Data Provider (System. Commands travel over connections and resultsets are returned in the form of streams which can be read by a DataReader object. Connections Connections are used to 'talk to' databases.• • Commands. The example below shows how to issue an INSERT statement against the Northwind database. In these samples we will use the SQL Server . For storing. You can also use input and output parameters. For issuing SQL commands against a database.Data. and return values as part of your command syntax. and reconciling data against a Server data source. • database.Data.NET Data Provider is used to talk to any OLE DB provider (as it uses OLE DB underneath). For reading a forward-only stream of data records from a SQL DataSets.NET Data Provider (System. and are respresented by provider-specific classes such as SQLConnection. DataReaders The DataReader object is somewhat synonymous with a read-only/forward-only cursor over data. or pushed into a DataSet object. The DataReader API supports flat as well as hierarchical data.NET Data Provider. Commands Commands contain the information that is submitted to a database. When dealing with connections to a database. • and relational data. For pushing data into a DataSet. or a statement that returns results.
you would use the OleDbDataAdapter object and its associated OleDbCommand and OleDbConnection objects. XML schemas can be used to describe schemas interchanged via WebServices. from code. or user input can all be placed into DataSet objects. The DataSet has many XML characteristics. regardless of where the source data resides. DataAdapters (OLEDB/SQL) The DataAdapter object works as a bridge between the DataSet and the source data. In fact. including the use of stored procedures. it is important to remember that DataSet objects do not interact directly with databases. Using the Fill method of the DataAdapter calls the SELECT command. an XML file. UPDATE or DELETE command for each changed row. Then. a DataSet with a schema can actually be compiled for type safety and statement completion. using the Update method calls the INSERT. including the ability to produce and consume XML data and XML schemas.DataSets and DataAdapters DataSets The DataSet object is similar to the ADO Recordset object. Using the provider-specific SqlDataAdapter (along with its associated SqlCommand and SqlConnection) can increase overall performance when working with a Microsoft SQL Server databases. with database-like structures such as tables. For ad-hoc . and constraints. columns. This allows the developer to work with a programming model that is always consistent. as changes are made to the DataSet they can be tracked and verified before updating the source data. or other source data. The GetChanges method of the DataSet object actually creates a second DatSet that contains only the changes to the data. The DataSet object represents a cache of data. You can explicitly set these commands in order to control the statements used at runtime to resolve changes. However. For other OLE DB-supported databases. relationships. though a DataSet can and does behave much like a database. Data coming from a database. but more powerful. The DataAdapter object uses commands to update the data source after changes have been made to the DataSet. and with one other important distinction: the DataSet is always disconnected. This DataSet is then used by a DataAdapter (or other objects) to update the original data source.
ADO. so explicitly providing the INSERT. or to store data in a cache for There is a lot more information about ADO. and navigate data relationships. developers can build solutions for the broadest range of clients. this run-time generation requires an extra round-trip to the server in order to gather required metadata. Remember. Rapid design. the web. move through the data. or delete it. updates. you can execute a command directly against the database in order Two new objects.Form designers and visual controls for creating windows-based applications.NET in the documentation.Net Framework. Visual C# . 2. With this elegant.NET development environment.NET delivers superior functionality for streamlining business processes. development. which uses the component-oriented C# development language. With visual C# . offers beginning and intermediate developers with C++ or java experience a modern language and Environment for creating next-generation software. This robust development package. 6. and deployment support for creating XML web services. . You don't need to first put data into a DataSet in order to insert.NET was created with n-Tier. to do inserts. and DELETE commands at design time will result in better run-time performance.NET. 2 . statelessness and XML in the forefront. updates.NET connected applications for Microsoft windows and the web. are provided for these scenarios.NET is the next evolution of ADO for the . and thin-client devices. including windows. UPDATE. 3.scenarios.NET 3. However. Also. ADO.5 Microsoft visual C# . 3. a CommandBuilder object can generate these at run-time based upon a select statement. 5. including: 1. you can use a DataSet to bind to the data. ADO. the DataSet and DataAdapter. modern programming language.NET server-based solutions. and deletes.NET can be used to get data from a stream. 1.NET is the comprehensive tool set for creating XML web services and Microsoft . developers can leverage their existing C++ and java skills and knowledge to be successful in the Microsoft . update. Authoring tools and services for building powerful Microsoft . C# . 4.
OOPS with C# Why Object Oriented approach? A major factor in the invention of Object-Oriented approach is to remove some of the flaws encountered with the procedural approach.Advantages of C#. indexers. immediately familiar to C++ and java developers. use prebuilt COM components. versioning.Emphasis on data rather than procedure 2. A major advantage of OOP is code reusability. single and multidimensional arrays. In OOP.NET Intuitive C++ based language: Use a language modeled on C++ syntax. Some important features of Object Oriented programming are as follows: 1.Programs are divided into Objects 3. data is treated as a critical element and does not allow it to flow freely. It bounds data closely to the functions that operate on it and protects it from accidental modification from outside functions.New data and functions can be easily added whenever necessary . A Fast growing developer community Learn from the rapidly growing community of C# developers and leverage skills across multiple computing environments by using an interoperable. and leverage existing Microsoft ActiveX controls to seamlessly integrate existing applications and components. standards-based language. OOP allows decomposition of a problem into a number of entities called objects and then builds data and functions around these objects. Modern. and XML comments. component-Oriented language: Take advantage of inherent support for properties.Objects can communicate with each other through functions 5. as well as intuitive new language constructs that greatly simplify development tasks. attributes.Data is hidden and cannot be accessed by external functions 4. delegates. Interoperability: Employ “unsafe” code to call native windows APls. advanced inheritance.
Follows bottom-up approach Concepts of OOP: • • • • • Objects Classes Data abstraction and encapsulation Inheritance Polymorphism Objects: Objects are the basic run-time entities in an object-oriented system. Data abstract and encapsulation Abstraction refers to the act of representing essential features without including the background details or explanations.6. Data cannot be accessible to the outside world and only those functions which are stored in the class can access it. When a program is executed. Once a class is defined. like adding additional features to an existing class without modifying it. The new class will have combined features of both the classes. Different objects can also interact with each other without knowing the of their data or code. Polymorphism is extensively used in implementing inheritance. objects interact with each other by sending messages. any number of objects can be created which belong to that class. This is achieved by deriving a new class from the existing one. Storing data and functions in a single unit (class) is encapsulation. Inheritance: Inheritance is the process by which objects can acquire the properties of objects of other class. The behavior depends on the data types used in the operation. inheritance provides reusability. Programming problem is analyzes in terms of objects and nature of communication between them. Advantages of OOPS: Object oriented programming has the following advantages over conventional approaches: OOP provides a clear modular structure for programs which makes it good for defining abstract data types where implementation details are hidden and the unit has a clearly defined interface. . Class: A class is a collection of objects of similar type. An operation may exhibit different behavior in different instances. In OOP. Polymorphism: Polymorphism means the ability to make more than one form. OOP makes it easy to maintain and modify existing code as new objects can be created with small differences to existing ones. Classes use the concept of abstraction and are defined as a list of abstract attributes.
While SQL Server is designed to work as a server in a client/server network. it is also capable of working as a stand-alone database directly on the client. they connect over the network from their computers. Ensuring that data is stored correctly and that the rules defining data relationships are not violated. A communications component is provided so applications can run on separate clients and communicate to the database server over a network. Recovering all data to a point of known consistency in case of system failures. Database A database is similar to a data file in that it is a storage place for data. Client/Server In a client/server system. A database typically has two components: the files holding the physical database and the database management system (DBMS) software that applications use to access data. a database does not present information directly to a user. the user runs an application that accesses data from the database and presents it to the user in an understandable format.SQL SERVER: Microsoft SQL Server is a Structured Query Language(SQL) based. Like a data file. . Each of these terms describes a funadamental part of the architecture of SQL Server. Server applications are usually capable of working with several clients at the same time. to the server. the database files and DBMS software reside on a server. the server is a relatively large computer in a central location that manages a resource used by many people. The scalability and ease-of-use features of SQL Server allow it to work efficiently on a client without consuming too many resources. SQL Server can work with thousands of client applications simultaneously. Examples of servers are: In a client/server database architecture. The SQL Server communication component also allows communication between an application running on the server and SQL Server. When individuals need to use the resource. client/server relational database. or clients. The DBMS is responsible for enforcing the database structure. including: • • • Maintaining the relationships between data in the database. The server has features to prevent the logical problems that occur if a user tries to read or modify data currently being used by others.
Both the American National Standards Institute (ANSI) and the International Standards Organization (ISO) have defined standards for SQL. manage. deploy. SQL Server Features Microsoft SQL Server supports a set of features that result in the following benefits: Ease of installation. multiprocessor servers running Microsoft Windows NT®. the most common is SQL. and other objects. the latest SQL standard (published in 1992). and use SQL Server across several sites. such as views. you must use a set of commands and statements (language) defined by the DBMS software. the Internet. Most modern DBMS products support the Entry Level of SQL-92. Data warehousing SQL Server includes tools for extracting and analyzing summary data for online analytical processing (OLAP). deployment. Scalability The same database engine can be used across platforms ranging from laptop computers running Microsoft Windows® 95/98 to large. and Windows. System integration with other server software SQL Server integrates with e-mail. and use SQL Server includes a set of administrative and development tools that improve your ability to install. The data stored in a database is usually related to a . There are several different languages that can be used with relational databases.Structured Query Language (SQL) To work with data in a database. SQL Server also includes tools for visually designing databases and analyzing data using English-based questions. Enterprise Edition. indexes. Databases A database in Microsoft SQL Server consists of a collection of tables that contain data. defined to support activities performed with the data. stored procedures. and triggers.
because in addition to prevent in duplication it also does not allow null values. Before you create a database. For example. a server can have one database that stores personnel data and another that stores product-related data. and each database can store either interrelated data or data unrelated to that in the other databases. one database can store current customer order data. . the table containing the foreign key is called a child table and the table containing the referenced key is called the parent table. The primary key constraint just like the former avoids duplication of values. Its needs it best felt when a relation has to be set between tables. Referential Integrity Constraint: The Referential Integrity Constraint enforces relationship between tables. The foreign key establishes a relationship with a specified primary or unique key in another table. The constraint allows only unique values to be stored in the column Sql Server rejects duplication of records when the unique key constraint is used. it is important to understand the parts of a database and how to design these parts to ensure that the database performs well after it is implemented. The primary key constraint is similar to the unique key constraint. In this relationship. It designates a column or a combination of columns as a foreign key. related database can store historical customer orders that are used for yearly reporting. such as inventory information for a manufacturing warehouse. called the referenced key. and another. SQL Server can support many databases. Alternatively.particular subject or process. Entity Integrity Constraint: Entity Integrity Constraints are of two types: • • Unique Constraints Primary Key Constraints The unique constraints designate a column or a group of columns as a unique key.
It refers to the technical specifications that will be applied in implementations of the candidate system. Samples of the output and input are also presented. The design process for software system has two levels. Design is the first step to moving from the problem domain towards the solution domain. Second input data and database files have to be designed . The term design describes a final system and the process by which it is developed. a process or a system with sufficient details to permit its physical realization”. The designer’s goal is how the output is to be produced and in what format. 1.SOFTWARE DESIGN The design phase begins with the requirements specification for the software to be developed. Detailed Design or Logical Design System Design: In the system design the focus on the deciding which modules are needed for the system. Design is essentially the bridge between requirement specification and the final solution for satisfying the requirements. System Design or Top level design 2. The most creative and challenging phase of the life cycle is system design. the specification of these modules and how these modules should be interconnected. It is the most critical factor affecting the quality of the software. The design may be defined as “the process of applying various techniques and principles for the purpose of defining a device.
referred as a UML model. So it is an essential phase in the development of a software product. Design is the only way where we can accurately translate a customer’s requirements into a complete software product or system. Finally. Design provides us with representations of software that can be assessed for quality. Detailed Design: In detailed design the interconnection of the modules or how the specifications of the modules can be satisfied is decided. details related to justification of the system and an estimate of the impact of the candidate system on the user and the organization are documented and evaluated by management as a step toward implementation. Some properties for a software system design are • • • Verifiability Completeness Consistency • Traceability • Simplicity / Understandability UML DESIGN: UML is a standardized specification language for object modeling. UML is general-purpose modeling that includes a graphical notation used to create an abstract model of a system. or could be one who’s Quality can’t be tested. . UML diagrams represent three different views of a system model: Functional requirements view Emphasizes the functional of the system from the user’s point of view. The processing phases are handled through the program Construction and Testing. The importance of software design can be stated in a single word “Quality”. Includes use case diagram. Without design we risk building an unstable system that might fail if small changes are made.to meet the requirements of the proposed output. It may as well be difficult to test.
and relationships. interfaces and collaboration and their relationships. attributes. operations. Class diagram are the most common diagram found in modeling object oriented systems.Static structural view Emphasizes the static structure of the system using objects. Class diagrams are used to address the static process of a system. Includes sequence diagram CLASS DIAGRAM A class diagram shows a set of classes. We use class diagram to illustrate the static design view of a system. Includes class diagrams and composite structure diagrams Dynamic behavior view Emphasizes the dynamic behavior of the system by showing collaborations among objects and changes to the interanal states of objects. .
USECASE DIAGRAM Use case diagrams shows the interaction between use cases. which represent system functionality and actors which represents the people or systems that provide or receive information from the system. Use case d for user .
a sequence diagram is a table that shows objects arranged along the X-axis and message ordered in increasing time.Usecase di admin SEQUENCE DIAGRAM A sequence diagram emphasizes the time ordering of the messages. along the Y-axis. Graphically. SEQUENCE DIAGRAM FOR USER S q e ce eun ue sr .
Often corresponds to organizational units in a business model. Activity diagram notations: Swimlane – Used to organize responsibility for actions and subactivities. Transitions are triggered by the completion of actions or sub activities. Fork . Join .Splits an incoming transition into several concurrent outgoing transitions.Merges transitions from concurrent regions into a single outgoing transition.Sequence adm in ACTIVITY DIAGRAM Displays a workflow behavior of a system. Decision – A state node that represents a decision. Somewhat similar to a state diagram Activities are states that represent the performance of actions or subactivities. All of the transitions fire together. All the transitions fire together. . Each transition from this node depends on a Boolean condition.
ACTIVITY FOR USER: .
fails Login Select one option View Plans Apply new Conection View Bill Info Post Complients Send Feedback ACTIVITY FOR ADMIN: .
fails Login Select one option Assign telephone numbers to users View Complients Exit Exit Select another option View Feedback Insert Bill Info Exit Exit Inser Telephone plans Exit .
DEPLOYMENT DIAGRAM Shows the configuration of runtime processing nodes and the components that live on them. Deploym E-R DIAGRAM . Shows a set of nodes and their relationships illustrates the static deployment view of architecture.
An Entity-relationship model is a relational schema database modelling method used to model a system and its requirements. pa u se rn a m e DFD DIAGRAMS .An Entity-relationship model is used in modern database software engineering to illustrate the logical structure of the database. A diagram created using this method is called ER diagram. Characteristic of an entity is nothing but an attribute. An entity represents a discrete object. Relationships illustrate how two entities share information in the database structure.
A DFD consists of a series of bubbles joined by data flows in the system. Process is further identified with a number that will be used for identification purpose. It contains a single process. A DFD is also known as a “bubble Chart” has the purpose of clarifying system requirements and identifying major transformations that will become programs in system design. which plays vital role in studying the current system. It consists a single process bit. These are the central tool and the basis from which the other components are developed.A data flow diagram is graphical tool used to describe and analyze movement of data through a system. The development of DFD’S is done in several levels. It represents the entire software element as a single bubble with input and output data indicated by incoming and outgoing arrows respectively. TYPES OF DATA FLOW DIAGRAMS DFDs are two types PHYSICAL DFD LOGICAL DFD 1. PHYSICAL DFD . A full description of a system actually consists of a set of data flow diagrams. Anything that is not inside the process identified in the context diagram will not be part of the system study. So it is the starting point of the design to the lowest level of detail. departments and workstations. The context diagram defines the system that will be studied in the sense that it determines the boundaries. but it plays a very important role in studying the current system. The process in the context level diagram is exploded into other process at the first level DFD. may be described logically and independently of physical components associated with the system. Each component in a DFD is labeled with a descriptive name. through processed. The physical data flow diagrams show the actual implements and movement of data between people. CONTEXT DIAGRAM: The top-level diagram is often called a “context diagram”. These are known as the logical data flow diagrams. The transformation of data from input to output. Each process in lower level diagrams can be broken down into a more detailed DFD in the next level. The lop-level diagram is often called context diagram.
Later during design activity this is taken as the basis for drawing the system’s structure charts. Physical DFDs shows actual devices. organizations or other entities. procedures.. departments. The physical component is not identified. People. which may be People. involved in the current system 2. Process: Source: External sources or destination of data. LOGICAL DFD Logical DFDs are the model of the proposed system. or devices that use or produce (Transform) Data. They clearly should show the requirements on which the new system should be built.Structured analysis states that the current system should be first understand correctly. programs. The Basic Notation used to create a DFD’s are as follows: Dataflow: Data move in a specific direction from an origin to a Destination. people etc. Data Store: Here data are stored or referenced by a process in the System . The physical DFD is the model of the current system and is used to ensure that the current system has been clearly understood.
Contex L v l1 ee : Us .
Level 2 L e2 ev l : .
and the operating system of the computer. A schema defines the database and a subschema defines the portion of the database that a specific program will use. The relational data model is a formal model for representing relationships among attributes of an entity set and the association between entity sets. A data model is a pattern according to which data are logically organized. which determines what data are needed and how they are processed. It consists of the named logical units of data and expresses the relationships among the data as determined by the interpretation of the model of real world. In a model of real world similar things are usually grouped into classes of object called object types. There is no distinction even at the model level. Data Model: The organization of the data is represented by a data model and identifies the logical organization of data. The DBMS is a bridge between the application program. which is responsible for placing data on the magnetic storage devices. A database management system provides flexibility in the storage and retrieval of data bad production of information. The data model does not produce the introduction of additional semantic information to distinguish different relations according to their properties .Database Design The data pertaining to proposed system is voluminous that a careful design of the database must proceed before storing the data in the database. between the different kinds or relations. Syntactically all the relations are the same. In the relational data model all attribute relationships and all associations are represented as relations.
R eg_ A telep dd .
Assign Bill inf .
Cs cm u t_ o Compla .
Differe User a .
A successful test is one that uncovers an undiscovered error Testing Principles: • • • • • All tests should be traceable to end user requirements Tests should be planned long before testing begins Testing should begin on a small scale and progress towards testing in large Exhaustive testing is not possible To be most effective testing should be conducted by a independent third party Testing Startegies: A Strategy for software testing integrates software test cases into a series of well planned steps that result in the successful construction of software. Software testing is a broader topic for what is referred to as Verification and Validation. Testing Objectives include: 1. design and coding. A good test case is one that has a probability of finding an as yet undiscovered error 3. Validation refers he set of activities that ensure that the software that has been built is traceable to customer’s requirements . Testing presents an interesting anomaly for the software engineer. Testing is a process of executing a program with the intent of finding an error 2. Verification refers to the set of activities that ensure that the software correctly implements a specific function.TESTING Software Testing is a critical element of software quality assurance and represents the ultimate review of specification.
beginning with the main control program. . begins construction and testing with atomic modules i. The objective is to take unit tested methods and build a program structure that has been dictated by design. Top-down Integration: Top down integrations is an incremental approach for construction of program structure. Bottom-up Integration: This method as the name suggests. Integration Testing: Integration testing is a systematic technique for constructing the program structure. important control paths are tested to uncover errors within the boundaries of the module.e. The unit test is normally white box testing oriented and the step can be conducted in parallel for multiple modules.Unit Testing: Unit testing focuses verification effort on the smallest unit of software design that is the module. Using procedural design description as a guide. Because the modules are integrated in the bottom up manner the processing required for the modules subordinate to a given level is always available and the need for stubs is eliminated. Modules are integrated by moving downward through the control hierarchy. modules at the lowest level. Modules Subordinate to the main program are incorporated in the structure either in the breath-first or depth-first manner. while conducting test to uncover errors associated with the interface..
Information contained in those sections form a basis for validation testing approach. but together. Third. The first step in white box testing is to comprehend and analyze source code. The three requirements do not work in isolation. . White box testing requires knowing what makes software secure or insecure. White box testing is performed based on the knowledge of how the system is implemented. control flow. and to uncover exploitable vulnerabilities. System Testing: System testing is actually a series of different tests whose primary purpose is to fully exercise the computer-based system. to test the intended and unintended software behavior. White box testing includes analyzing data flow. all work to verify that all system elements have been properly integrated to perform allocated functions. so knowing what makes software secure is a fundamental requirement. Reasonable expectations are those defined in the software requirements specifications. coding practices. Validation testing is the next stage. to validate implemented security functionality. a tester must think like an attacker. Though white box testing can be performed any time in the life cycle after the code is developed. it is a good practice to perform white box testing during the unit testing phase. to perform testing effectively. White box testing requires access to the source code. WHITE BOX TESTING: The purpose of any security testing method is to ensure the robustness of a system in the face of malicious attacks or regular software failures. and how to use different testing tools and techniques. how to think like an attacker. testers need to know the different tools and techniques available for white box testing. Although each test has a different purpose. Second. information flow.Validation Testing: At the end of integration testing software is completely assembled as a package. and exception and error handling within the system. White box testing can be performed to validate whether code implementation follows intended design. which can be defined as successful when the software functions in the manner reasonably expected by the customer. to create tests that exploit software.
A software testing technique whereby the internal workings of the item being tested are not known by the tester. For example. TEST CASES: Ts C et I pt nu Uen m sr a e In u pt .BLOCK BOX TESTING: Also known as functional testing. in a black box test on software design the tester only knows the inputs and what the expected outcomes should be and not how the program arrives at those outputs. The tester does not need knowledge of any specific programming languages. The test is done from the point of view of the user. not the designer. The advantages of this type of testing include: • • • • The test is unbiased because the designer and the tester are independent of each other. Test cases can be designed as soon as the specifications are complete. The tester does not ever examine the programming code and does not need any further knowledge of the program other than its specifications.
• Sometimes the user finds in the later stages of using project that he needs to update some of the information that he entered earlier. . This will provide better opportunities and guidance in future in developing projects independently.NET web based application and no some extent Windows Application and SQL Server. Decision making process would be greatly enhanced because of faster processing of information since data collection from information available on computer takes much less time then manual system. which can create problems at later date. The user is mainly more concerned about the validity of the data. It also provides knowledge about the latest technology used in developing web enabled application and client server technology that will be great demand in future. There are checks on every stages of any new creation. He can see the desired records with the variety of options provided by him. That is. but also about all handling procedure related with “AUTOMATIC TEST GENERATOR”. This keeps the validity of the data to longer extent. • • Data storage and retrieval will become faster and easier to maintain because data is stored in a systematic manner and in a single database. From every part of the project the user is provided with the links through framing so that he can go from one option of the project to other as per the requirement. we can say that the project is user friendly which is one of the primary concerns of any good project. This is bound to be simple and very friendly as per the user is concerned. This project proved good for me as it provided practical knowledge of not only programming in ASP. whatever he is entering.CONCLUSION It has been a great pleasure for me to work on this exciting and challenging project. data entry or updating so that the user cannot enter the invalid data. BENEFITS: The project is identified by the merits of the system offered to the user. • • User is provided the option of monitoring the records he entered earlier. The merits of this project are as follows: • • • It’s a web-enabled project. This project offers user to enter the data through simple and interactive forms. This is very helpful for the client to enter the desired information through so much simplicity. There are options for him by which he can update the records.NET and VB. Moreover there is restriction for his that he cannot change the primary data field.
• • Allocating of sample results becomes much faster because at a time the user can see the records of last years. Easier and faster data transfer through latest technology associated with the computer and communication. • Through these features it will increase the efficiency. accuracy and transparency. .
This action might not be possible to undo. Are you sure you want to continue?
We've moved you to where you read on your other device.
Get the full title to continue reading from where you left off, or restart the preview.