Web Development project


Published on

Published in: Technology, Business
1 Comment
No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Web Development project

  1. 1. [2011] HINDALCO INDUSTRIES LIMITED, Muri Works WEB DEVELOPMENT PROJECT [Ranchi, Jharkhand] SURYADATTA INSTITUTE OF MANAGEMENT & MASS COMMUNICATION, PUNE 2010 -2012Submitted By:Manohar Prasad, PGDM (IT)Email ID: manoharprasad01@gmail.com
  2. 2. ACKNOWLEDGEMENTI take immense pleasure in thanking Dr. Sanjay B. Chordia, Chairman, Suryadatta institute of managementand mass communication, Pune for having permitted me to carry out this project work. I wish to express my deep sense of gratitude to our internal guide Prof. Sonal Mali, Suryadattainstitute of management and mass communication for their guidance and useful suggestions, which helped mein completing the project work, in time. Needless to mention Mr. Atul Kumar (Assistant Manager, IT) Hindalco Industries ltd. Muri works,Ranchi, who had been a source of information and their timely guidance in the conduct of my project work. Iwould also like to thank Mr. Ritesh Kumar, (Manager, IT), Md. Mahtab Alam, Mr. Abhisek Bhattacharjee,Mr. Sudhir Prasad for their valuable assistance in the project work. Words are inadequate in offering my thanks to the project trainer Mr. Atul Kumar, AssistantManager, IT, Hindalco Industries ltd. Muri Works, Ranchi. I am thankful to the employees of IT Hardware department for their co-operation to me during myproject work. Finally, yet importantly I would like to express my heartfelt thanks to my beloved parents for theirblessings, my friends, and all those who supported me directly or indirectly for their help and wishes forsuccessful completion of this project. Manohar Prasad PGDM (IT) 2010 -12 SIMMC, PUNE 2
  3. 3. DeclarationI am very well aware of the ethics and guidelines one has to follow while working on a project in a disciplinedmanner. Being aware of a project regarding its Factuality and Authenticity, I have tried my best to performmy task. All the information mentioned here throughout the project is true to the best of my knowledge and Ideclare it as true and the collection made through own website and by my own personal observation andexperience. The theoretical part is gathered from various Website Development reference books. Manohar Prasad 3
  4. 4. CONTENTSI) Introduction…………………………………………………….5 Reason for selection of the topic…………………………………….…5 Importance of the topic…………………………………………….......5II) Organizational Profile………………………………………….6 History…………………………………………………………………6 Vision……………………………………………………………….….6 Mission…………………………………………………………….…...6 Values……………………………………………………………….…6 Empowered People Empowered Minds…………………………..……6III) Website development process…………………………………7-11 Domain name Registration……………………………………………8-9 Web Hosting…………………………………………………………..9 Web Design…………………………………………………………..10 Web Development……………………………………………………10-11 Web Maintenance…………………………………………………….11 Content Management System………………………………………...11IV) Data Analysis & Interpretation……………………………….12-31 ER-Diagram…………………………………………………………..12 Installing Web Development Projects………………………………..12-14 How to configure a web page………………………………………..14-18 How to build a server connection…………………………………….19-20 Building the Default page……………………………………………20-22 Building the Menu page……………………………………………...22-23 Building the Complain page………………………………………….23-29 Building the Feedback page………………………………………….29-30 Future of the web development project…………………………….…31V) Introduction to the Oracle Server……………………………..32 Oracle Database…………………………………………………………….32 How Oracle Works…………………………………………………………32 Client/Server Architecture………………………………………………….33-35VI) Conclusion……………………………………………………36VII) Suggestion…………………………………………………….37VIII) References…………………………………………………….38 4
  5. 5. Introduction to Web Development ProjectThe Web Development Project provides a Visual Studio 2005 Web project option that works like the VisualStudio .NET 2005 Web project model. Here, the new project type is referred to as a Web developmentproject. We can use Web development projects as an alternative to the Web site project model alreadyavailable in Visual Studio 2005.Reasons for selection of Web Development Project: Better usability: It focuses on improving the accessibility of the Internet to provide better usability to users and makes the Internet more understandable for search engine robots. Better Earnings: Web development has taken form of an industry with people earning a good amount of money by taking it up as a career. Great Learning: Web development is a fun thing to do provided we have the skills and talent to make website, developing different portals for business and other web linked activities. Great Opportunity: Companies are increasingly using websites to, not just advertise their products and services, but also to generate revenue.Importance of Web Development Project to the organization:In today’s advanced technological world, ASP.NET development plays an important role in webdevelopment. It is used by the developers to create dynamic web applications & web services. In ASP.NET,we can create anything from a few small websites to large. Now-a-days, there are many web developmentcompanies use this technology to develop applications because of its robustness to develop Web solutions. Itmakes use of .NET framework, which includes an extensive class library that contains predefined functionsfor common programming problems.ASP.NET developers use different features of ASP.NET to develop & modify ASP.NET applications.Some of the functions are: Master page helps to apply a consistent look for each web site, web applications. Language Integrated Query gives the ability to query data in VB.NET, which allows us to retrieve data from databases, objects and XML. LINQ gives support for the compiler. Theme allows us to modify the look of the web application. Web Support Services gives integrated features that help us to consume & publish Web services efficiently.Technology can make use of Visual Studio.NET to create ASP.NET Web forms & debug & deploy Webapps. It gives the interaction between the applications run in different environments. It also supports theOracle, Microsoft SQL Server and DB2. 5
  6. 6. Organizational ProfileHindalco’s presence in Jharkhand dates back to 1943 when mining commenced in Bagru in Lohardagadistrict. Commissioned in 1948, the Muri Alumina plant was India’s first alumina refinery. It is located on thebank of Subarnarekha River in Chhotamuri village, 60 kilometer from the town Ranchi. The recentlyexpanded Alumina Refinery operates at 4,50,000 tpa capacity, producing standard and speciality gradealumina and hydrates to serve customers in aluminium, refactories, ceramics, water treatment, power andplastic industries. A management team of 67 people work tirelessly to ensure stringent quality and delivery standards atcompetitive costs. A 30 MW coal-based captive power plant provides uninterrupted power supply to therefinery as well as to the surrounding colony. The expanded plant is equipped with advanced and latesttechnology available in the field of alumina manufacturing. Committed to sustainable development, HindalcoMuri partners the community in social projects, particularly women’s empowerment’ improved agriculturalmethods for higher crop yielding, income generation along with regular health and educational initiatives. Muri has a well built colony consisting of individual quarters for employees, separate bacheloraccommodation for young engineers, a club house and sports facilities and also a health centre. Vision To be a premium metals major, global in size and reach, excelling in everything we do, and creating value forits stakeholders. MissionTo relentlessly pursue the creation of superior shareholder value, by exceeding customer expectationprofitably, unleashing employee potential, while being a responsible corporate citizen, adhering to our values. Values Integrity: Honesty in every action. Commitment: Doing whatever it takes to deliver, as promised. Passion: Missionary zeal arising out of an emotional engagement with work. Seamlessness: Thinking of working together across functional silos, hierarchy levels, business and geographies. Speed: Responding to stakeholders with a sense of urgency. Empowered People Empowered MindsAt the heart of Hindalco’s process and products, behind its growth and success lies the story of teamHindalco. A multilingual, multi-cultural cross section of people bound by the same values and pursuing acommon mission to create superior value for all stakeholders. 6
  7. 7. Website Development ProcessAnalysis:We ask questions on your business, your clients, budget, goals, and expectations. We analyze your currentposition and bring out clear expectations of your website requirements. At this point we will be discussingabout the website look and feel, the functions of the web pages, website contents, targeted clients and budgetfor website development, your competition, and time. We will be providing you our suggestions and sharingour experience as well as others. We understand a free and open discussion needed to move forward andexpect the same.Specification:Based on the discussions and analysis, we prepare a draft specification of web pages to be developedincluding the sitemap, process charts, estimated time and cost. This website development specification will bereviewed and revised if needed.Design & Development:Design and development plays an important role in web development. Graphical look and feel will begin totake shape after we get the graphical elements. Graphical elements required for design are client logo, productphotographs, ISO and other certification logos, brand identity, and others. Usually our clients provide thegraphical elements. If needed we also design logos, prepare charts, graphs, draw illustrations and arrangephotographers and other creative professionals for content development.We use colors and images that are in tune with your products, brands and services. We provide web pagedesign graphic for clients for review and incorporate the changes. Our web page design graphic includesmock-ups of navigation, sample content and placeholders.Content Writing:Content writing is an important aspect of web page development and plays an important role in search engineoptimization. A clear and concise content is absolutely necessary to communicate with website visitors. Aprofessionally written content can make a difference in getting your message across to the targeted clients.We help our clients to bring out all the required text contents like product details, service details, contactaddress, product specifications, certifications, brand info, FAQ, client comments, case studies, service plans,commercial information like billing, shipping and packing terms, graphs, charts and diagrams.Coding:We start coding of web pages in HTML, CSS, Javascript, PHP, XML and other web technologies after gettingthe text and graphic contents. We ensure all the coded web pages look consistently same as the web design.Properly coded web pages load faster, search engine spiders index quickly and rank well. We ensure everyweb page carries a unique title, meta tags like description and keywords. Internal links are created withwebsite keywords to improve the search engine ranking and navigation. We constantly improve the quality ofwebsite code by using many tools and proven techniques to ensure the website meets the standards. As asoftware developer we know the importance of maintainable, dependable and well-written code. 7
  8. 8. Testing:Entire website is tested for broken links, browser compatibility, slow loading pages, and slow loading images.We also do HTML code validation, CSS validation, spell check and make changes to correct the errors. Wecarryout functional tests on website processes like registration, mails, payments, etc and Load tests accordingto the requirements. After testing the website is uploaded and hosted on a web server.Promotion:Promoting your website is the important step to inform people. Some of the ways you can promote yourwebsite on web and bring more visitors to your website are listed below. 1. Search Engine 2. Directories 3. Emails 4. RSS Feeds 5. Blogs 6. Social Networks 7. Web based advertisements like banner ads.Maintenance & Update:We monitor your website for uptime, web site visitors and performance. We also do periodical updates ifneeded as per the requirement. Regular maintenance of website is needed to keep the visitors and customersup-dated. Any changes in contact information, product pricing, product specification, service policies,certifications, stock availability etc has to be intimated to the customers by mail and web. We provide youwebsite maintenance support at competitive and flexible rates.1. Domain Name RegistrationThe domain name can give you a first impression, provide you an extension to the outside world, and is yournew business plan. Choosing a professional domain name that is right for your business is not always as easyas it may seem. Shriasys guides you in selecting a new domain name for your new plan. We check your oryour companys first choice for a domain name and provide immediate suggestions and choice. The domainsextension are registered thru us are .com, .net, .org, .info, .biz, .in, .co.inKindly note having a great domain name will not automatically drive traffic to your website. It can be one ofthe factors for people to remember the names. We suggest you to register a domain name that reflects yourbusiness image, your products, your services, and easy to remember. In case of difficulty in finding thedomain names and extensions.Domain Name Registrations include: Web Forwarding Change Name Servers Change Contact Details No Transfer fees to move your domains to another provider 8
  9. 9. Optional Domain Privacy Registering a domain name is the first step for a presence in Internet. The next steps we need to take are web hosting and website design.2. Web HostingThe hosting services provided on Linux and UNIX servers include MySQL Database, PHP, Email - SMTP,Webmail, Anti-Virus Filters, FTP, sub-domains and automated backup and technical support.Development HostingDevelopment Service Provides the hosted web software services like Content Management Systems,Shopping Cart, Ajax Web-based email, Bulletin Board Services, Chat, and many more. Our servers are testedand optimized to run most of the PHP, MySQL and many more. Our grid servers can take up bandwidth andprocessor loads due to sudden massively growing traffic also.Customized HostingTo make use of facilities offered by hosting provider according to the needs of the customer gives a leadingedge over others. We dont sell server space alone but we sell customized solutions to customers. We analyzethe web hosting requirements, explain about the various hosting options, and suggest hosting to customers. Itis important to choose customized hosting and email solutions according to the needs keeping extendibilityand support in mind. With Shriasys web hosting customers can have many options designed to fit specificneeds.Email SolutionsThe world class email solutions are getting better day by day. If you are a corporate business house lookingfor spam protected virus free mails. Unlimited email storage Email access from anywhere on the Internet / Webmail POP and SMTP email access Compatibility with email developments like Microsoft Outlook¨, Thunderbird, Apple Mail, Lotus Notes and many more. 20MB Email attachment size SpamGuard Plus, for powerful spam protection - identify and filter bulk mail messages Norton AntiVirus, for virus protectionTechnical SupportThe Highly experienced and talented team of professionals works towards customer service support andcheck server health, security, and backup critical data. Under customized backup option we even backup yourdata on a daily basis. We inform personally over email on server maintenance and upgrade times well inadvance and address your concerns. 9
  10. 10. 3. Web DesignWith the spectacular growth of the internet, new opportunities are available for business across the world. It isnow essential to have a web presence and India has become the hub for web design and website developmentfor companies across the world. Shriasys is a complete website development firm in India offering completeweb services including web design, web development, e-commerce solutions, website redesign, websiteupdations, shopping cart solutions, online showroom concepts and search engine optimisation. We work anddeliver interactive web pages, dynamic as well as static web pages to our clients.We extensively work on web technologies such as HTML, CSS and JavaScript. We optimise and test ourwebsites to work well on modern browsers such as Mozilla Firefox, Internet explorer and others onMicrosoft Windows. Our skills in audio, video and a variety of media to provide a rich media experience tothe customers. We design and build our web pages conforming to World Wide Web Consortium (W3C.org)standards, ensuring interoperability with current and future web technologiesChoosing the right web designing firm is essential for successful completion of your web design endeavor. Itdoes matter if you are a start up, or an established business looking for web design, it is imperative that youshould consider these details for your website. Shriasys is a website design company with strongcommunication skills, quick turnaround and an eye for customer service. We have, due to strong webdevelopment experience have kept an excellent standard in meeting modern customer web design needs.Website Redesign ServicesThere could be several reasons for redesigning a website. We are listing a few here. Competition website is better Redesign Creative Visuals - Layout, Colors, Layout structure, Logo, Branding, Media (Audio / Video) Technical Errors - Frames, Forms, JavaScript, Pop-Up and Flash Need Copy-writing, Additional pages and Language options To maintain consistency of experience - Browser and Platforms Hosting and Server requirements are costlier4. Web DevelopmentWeb Development Solutions includes: Website development offer web services like search engineoptimization, shopping cart, web hosting, email solutions, ecommerce websites, content managementwebsites and blogs.We have unique ability to offer creative web page designs and functional values that attract and retain theinterest of website viewers. Our knowledge in new and cutting-edge web technologies, along with the abilityto apply in web pages has provided customized solutions to our customers. Corporate Company Website Hospital Website College Website 10
  11. 11. School Website Real Estate Website Online Learning Management Website Products Shopping Cart Website Community Website Associations and Membership Website5. Web MaintenanceA good, business-generating website needs to be dynamic. Website text and graphics needs to changefrequently to reflect your growth, to make existing customer visit again and new customers up-to-dated.Visitors may not comeback if same website is shown again and again. We are for long term commitmentgiving our client continuous support and service. Website maintenance and support is at top priority when wetake a website project. Many customers had a bad experience at the hand of website designers and developerswhose lack of professionalism, making the website maintenance a pain.Web Site Maintenance can be due to and not limited to following reasons Product and pricing change and addition Add breaking news or upcoming events Add new or change photos, certificates, graphics, audio, video, graphs and charts To keep the homepage fresh for visitors To add or change new address, Email IDs, telephone numbers To improve page rank in search engine results To Backup critical and important data To restore the data, make the site up and runningYou may need website maintenance support once in a week or in a month or quarterly. We make changes tothe website and promote the web pages in search engine promotion at affordable cost. You can rely on us forspeedy web maintenance and support.It may take few hours to one or two days to make few changes to the website. Depending upon the projectsize and complexity, we also offer active communication website for managing communications, to-do lists,and project tracking. Then we will update, optimize and test the web page. The maintenance cost largelydepends on the work involved. If you have already got a web site that requires a maintenace, provide yourWebsite details, Website URL, your contact details and type of work to be done.6. Content Management System (CMS)Content Management websites are those which can be easily updated by the site owner(s) through a webinterface, without the use of complex protocols, or the requirement for third party software on the PC.For us, though, Content Management means much more than that. It means the ability to manage every aspectof your web site through a sophisticated control panel, which gives control over the content, insight into theexact operation and performance of the system. This includes systems to examine (in real time) theprovenance of your web traffic, the effectiveness of your search engine efforts, and to quickly and easily finetune and update those aspects. 11
  12. 12. Data Analysis & Interpretation ER-DIAGRAM OF HINDALCO MURI, IT DEPARTMENT 1 Run by 1 IT Department Hindalco IT Manager IndustriesM Complain RegistrationM Engineer/ Employee Project SupervisorInstalling Web Development ProjectsVisual Studio 2005 requires us to install an update and an add-in to Visual Studio 2005. The two installationsperform the following tasks: The update makes changes to Visual Studio 2005 that is required so the Web project conversion wizard and designer will work well with Web development projects. We can download the update from the Microsoft Visual Studio 2005 - Update to Support Web Development Projects page on the Microsoft Download Center Web site. The add-in makes the new Web development projects available in Visual Studio 2005. We can download it from the Visual Studio 2005 Web Development Projects page on the ASP.NET Developer Center. 12
  13. 13. Scenario 1: Creating a New Web Development ProjectThis section walks us through creating a new Web development project. It also examines how page code ishandled in a Visual Studio 2005 Web development project.Step 1: Create a New ProjectTo start, create a new Web development project. In Visual Studio, from the File menu, click New Project,displays the New Project dialog box.Under Project types, open the Visual Basic node, and then under Visual Studio installed templates, clickASP.NET Web Development: sFigure 1. Creating a new Web Development ProjectName the project and specify a location. When we click OK, Visual Studio creates and opens a new Webproject with a single page named Default.aspx, an AssemblyInfo.cs files Default.aspx.vb, and a Web.configfile: 13
  14. 14. Figure 2.Web development projectThis list of project files, references, compilation information, and other metadata is stored in the project file,which is created in whatever location we specify in the New Project dialog box.There are two class files (.cs files or .vb files) associated with the Default.aspx page. The Default.cs file (.vbfile) contains the page class where we put wer code and event handlers. The Default.aspx.designer.cs file (.vbfile) is a new file used in Web development projects to contain the code that is generated and maintained byVisual Studio for the page. Both files contain a partial class. During compilation, the files are combined into asingle code-behind class.Step 2. Configure the Page:Open the Default.aspx file and copy the following markup into it, which defines several ASP.NET servercontrols:<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb"Inherits="_Default" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server"> <title>Hindalco Web Development</title><script language="javascript" type="text/javascript">// <!CDATA[function Checkbox1_onclick() {} 14
  15. 15. function Checkbox1_onclick() {}function Text2_onclick() {}function Submit2_onclick() {}// ]]></script></head><body> <div> <asp:Panel ID="Panel1" runat="server" Height="82px" Style="left: 16px;position: absolute; top: 17px; background-image: url(Logo1.jpg);" Width="100px"> </asp:Panel> <asp:Panel ID="Panel2" runat="server" Height="48px" Style="font-weight:bold; font-size: xx-large; left: 129px; color: #000066; font-family: Verdana, Sans-Serif;position: absolute; top: 13px; background-color: #ffffcc" Width="740px"> Hindalco Industries Ltd.</asp:Panel> &nbsp; <asp:Panel ID="Panel4" runat="server" Height="23px" Style="font-weight:bold; font-size: small; left: 0px; vertical-align: middle; color: white; font-style: normal;font-family: Verdana, Sans-Serif; position: absolute; top: 113px; background-color: #000066; text-align: center; font-variant: normal" Width="994px"> Intranet Web Service</asp:Panel> <asp:Panel ID="Panel5" runat="server" Height="22px" Style="font-weight:bold; font-size: small; left: 0px; vertical-align: middle; color: black; font-style: normal;font-family: Verdana, Sans-Serif; position: absolute; top: 136px; background-color: #ff0033; text-align: center; font-variant: normal" Width="993px"> &nbsp;IT Call Up Service, Muri</asp:Panel> &nbsp;&nbsp; <asp:Panel ID="Panel3" runat="server" Height="73px" Style="border-right:navy thin solid; border-top: navy thin solid; font-weight: normal; font-size: small;left: 882px; background-image: url(KMB1.jpg); border-left: navy thin solid;border-bottom: navy thin solid; font-style: normal; position: absolute; top: 21px; font-variant:normal" Width="75px"> </asp:Panel> </div> &nbsp; &nbsp; 15
  16. 16. <asp:Panel ID="Panel6" runat="server" Height="30px" Style="font-weight:bold; font-size: medium; left: 0px; text-transform: capitalize; color: white; font-style: normal;font-family: Verdana, Sans-Serif; position: absolute; top: 170px; background-color: navy; font-variant:normal" Width="284px"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Support</asp:Panel> &nbsp; <asp:Panel ID="Panel7" runat="server" Height="33px" Style="font-weight:bold; font-size: medium; left: 292px; text-transform: capitalize; color: white; font-style:normal; font-family: Verdana, Sans-Serif; position: absolute; top: 169px; background-color: #660000; font-variant:normal; vertical-align: middle; text-align: center;" Width="352px" Font-Bold="True" Font-Names="Verdana" Font-Size="24pt"> &nbsp; <p style="position: absolute"> &nbsp;</p> Muri Works Website</asp:Panel> <asp:Panel ID="Panel8" runat="server" Height="88px" Style="font-weight:normal; font-size: small; left: 293px; vertical-align: middle; direction: ltr;text-indent: 1pt; font-family: Verdana, Sans-Serif; position: absolute; top: 202px;background-color: #ffffff; text-align: justify" Width="350px"> <br /> For access to all staff and officers of Hindalco-MURI, simply logon.Youll have access to a host of information and personalized services availablethrough a single location.<br /> </asp:Panel> &nbsp; <asp:Panel ID="Panel9" runat="server" Height="32px" Style="font-weight:bold; font-size: medium; left: 652px; color: white; font-family: Verdana, Sans-Serif; position:absolute; top: 170px; background-color: #990099; vertical-align: middle; text-align: center;" Width="340px"> &nbsp; Notice to Users</asp:Panel> <asp:Panel ID="Panel10" runat="server" Height="326px" Style="left: 653px;position: absolute; top: 202px; background-color: #ffffcc; font-weight: normal; font-size:small; color: black; font-style: normal; font-family: Verdana, Sans-Serif; font-variant: normal;" Width="339px"> <br /> <span class="gaia cca al"><font face="Verdana"><font color="black"> <font color="black"><font size="2"style="background-color: #ffffcc">This website is the property of Hindalco-MURI.It is accessible over the intranet for the use of companyemployees only.</font></font> <font color="black"><font size="2"> All users and contents of the site may be intercepted,monitored, recorded, audited 16
  17. 17. or inspected. By Using the site user consents and acceptsthe terms &amp; conditions specified herein. Unauthorized or improper use of the site may result intoadministrative disciplinary action. Please<b><font color="orange"> DO NOT LOGON <fontcolor="black"></font></font> </b><font color="orange"><font color="black"style="background-color: #ffffcc">if you do not agree to any of the stated conditions.</font></font> <font color="orange"><fontcolor="black">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;</font></font>&nbsp; <font color="orange"><font color="black">&nbsp; &nbsp; </font></font> <font color="orange"><fontcolor="black"></font></font>&nbsp; </font></font></font></font></span> </asp:Panel> <asp:Panel ID="Panel11" runat="server" Height="44px" Style="font-weight:bold; font-size: small; left: 0px; vertical-align: middle; color: white; font-style: normal;font-family: Verdana, Sans-Serif; position: absolute; top: 540px; background-color: #003366; text-align:center; font-variant: normal" Width="993px"> <asp:Panel ID="Panel12" runat="server" Height="22px" Style="font-weight:bold; font-size: small; left: 0px; vertical-align: middle; color: black; font-style: normal;font-family: Verdana, Sans-Serif; position: absolute; top: 27px; background-color: #ff0033; text-align: center; font-variant: normal" Width="993px"> Copyright @ IT Department, Hindalco-MURI.</asp:Panel> Hindalco Industries Ltd. (Muri Works)PO: Ranchi, District:Ranchi(Jharkhand):835101</asp:Panel> &nbsp;&nbsp;&nbsp;&nbsp; +&nbsp; <asp:Panel ID="Panel13" runat="server" Height="27px" Style="font-weight:bold; font-size: medium; left: 129px; vertical-align: middle; color: #000066; font-style: normal;font-family: Verdana, Sans-Serif; position: absolute; top: 60px; background-color: #ffffcc; text-align:left; font-variant: normal" Width="740px"> &nbsp;Muri Works, Ranchi-835101</asp:Panel> <asp:Panel ID="Panel14" runat="server" Height="238px" Style="font-weight:bold; font-size: small; left: 293px; vertical-align: middle; color: black; font-style: normal;font-family: Verdana, Sans-Serif; position: absolute; top: 289px; background-color: #ccccff; font-variant:normal" Width="350px"> <br /> &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="font-size: 11pt; 17
  18. 18. text-decoration: underline">Signin to Register Complain<br /> </span> &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp; User Name: &nbsp;&nbsp;&nbsp; &nbsp;<br /> <br /> &nbsp; &nbsp; &nbsp; &nbsp; Password &nbsp;: &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<br /> &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br /> <br /> <form action="Default.aspx" runat="server"> <asp:TextBox ID="TextBox1" runat="server" style="left: 130px; position:absolute; top: 48px"></asp:TextBox> <asp:TextBox ID="TextBox2" runat="server" style="left: 130px; position:absolute; top: 79px"></asp:TextBox> <asp:Button ID="Button1" runat="server" Style="left: 127px; position:absolute; top: 118px" Text="Submit" Width="88px" /> </form> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="font-size: 9pt"> User Name: Employee Code<br /> </span>&nbsp;&nbsp; <span style="font-size: 9pt">Default Password: Dateof Birth(DD-MON-YYYY)</span></asp:Panel> &nbsp; <asp:Panel ID="Panel16" runat="server" Height="324px" Style="left: 0px;color: black; font-style: normal; font-family: Verdana, Sans-Serif; position:absolute; top: 201px; background-color: #ffcc99; font-variant: normal; font-weight: normal;font-size: small;" Width="282px"> <br /> &nbsp; <strong><span style="font-size: 11pt">Website Help Desk<br /> </span></strong> <br /> &nbsp; <strong>Phone:<br /> </strong>&nbsp; &nbsp; Internal-<br /> <br /> &nbsp; P&amp;T:<br /> <br /> &nbsp; <strong>Email:</strong><br /> <br /> &nbsp; <strong>Support Time:</strong> 8:00AM To 5:30PM<br /> &nbsp; &nbsp;&nbsp; (IST)<br /> <br /> &nbsp; Monday To Saturday<br /> 18
  19. 19. &nbsp; &nbsp; &nbsp; &nbsp; (Except Public Holiday)<br /> <br /> &nbsp;Report misuse by Email to <strong>Mail Admin</strong>.<br /> <br /> &nbsp;&nbsp; </asp:Panel></body></html>In Web development projects, code generation for server controls is improved in the Visual Studio .NET 2005in two important ways: We no longer have to switch the page to Design view to update the control declarations. The designer monitors both Design view and Source view and updates declarations appropriately. Control declarations in the base class of a page are honored and are not duplicated in a pages code- behind class.Because the .designer.cs file is automatically updated with the control declarations, we can go directly to theDefault.aspx.cs code-behind class file and program any of the controls on the page, as in the followingexample:Step 3: Build the Server Connection:Run the project in debug mode by pressing F5 or clicking Run in the Debug menu. By default, Webdevelopment projects use the built-in ASP.NET Development Server using a random port as the root site.Example:Public ora_con As NewOracleConnection(ConfigurationManager.ConnectionStrings("ITCALL_Conn").ConnectionString.ToString)Public ora_con As NewOracleConnection(ConfigurationManager.ConnectionStrings("Local_Conn").ConnectionString.ToString) Figure 3.Server ExplorerStep 4: Build the Solution Connection:When we run the development, Visual Studio compiles the project into a single assembly, whichfollows the build semantics of Visual Studio .NET 2005 Web projects. When the development is 19
  20. 20. running, Visual Studio attaches a debugger to the Web server process. All project settings are savedin a standard MSBuild project file. All project settings are saved in a standard MSBuild project file.Figure 4.Solution ExplorerStep 5: Building the Default Page:Imports System.Data.OracleClientImports System.DataPartial Class _Default Inherits System.Web.UI.Page Public ora_con As NewOracleConnection(ConfigurationManager.ConnectionStrings("ITCALL_Conn").ConnectionString.ToString) Public name(2) As String Dim password As Date Dim IntRec As Integer Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)Handles Me.Load Dim cmd_exec As New OracleCommand(qry_ins_data, ora_con) ora_con.Open() Dim dr As OracleDataReader = cmd_exec.ExecuteReader() Dim adp As New OracleDataAdapter("select computer_code,dt_of_birth fromemp_static ", ora_con) Dim result As Integer = cmd_exec.ExecuteNonQuery() 20
  21. 21. Dim ds As New DataSet() adp.Fill(ds, "p") TextBox1.Text = ds.Tables("p").Rows(0)(0) password = ds.Tables("p").Rows(0)(1) MsgBox(password) ora_con.Close() End Sub Protected Sub Button1_Click(ByVal sender As Object, ByVal e AsSystem.EventArgs) Handles Button1.Click Dim ecode As String If password = TextBox2.Text Then MsgBox("You have Successfully SignedIn") Session("ecode") = TextBox1.Text Response.Write("<script language=Javascript>alert(You haveSuccessfully SignedIn!!)</script>") Response.Redirect("Menu_Page.aspx") Else Response.Write("<script language=Javascript>alert(Either yourUser ID or Password does not matches)</script>") MsgBox("Either your User ID or Password does not matches") End If End Sub Public Sub New() End Sub Protected Overrides Sub Finalize() MyBase.Finalize() End Sub Protected Sub TextBox1_TextChanged(ByVal sender As Object, ByVal e AsSystem.EventArgs) Handles TextBox1.TextChanged End SubEnd Class 21
  22. 22. Figure 5.Login PageThis is the Login page through which the employee of the Organization can login to register complain by theiremployee code as a user name and their date-of-birth as their default password. If the password and the username don’t matches with, then the employee can’t login. It displays a prompt message. But after successfully login, the menu page gets opened.Step 6: Building the Menu Page:Partial Class Menu_Page Inherits System.Web.UI.PageEnd Class 22
  23. 23. Figure 6.Menu PageIn the menu page, there are different options available to directly access the Complain, Report, RFA Status,IT Asset and Feedback Pages.Step 7: Building the Complain Page:Imports System.Data.OracleClientImports System.DataImports System.IOImports System.Data.OleDbPartial Class Default2 Inherits System.Web.UI.Page Public ora_con As NewOracleConnection(ConfigurationManager.ConnectionStrings("Local_Conn").ConnectionString.ToString) Public name(2) As String Dim password As Date Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)Handles Me.Load Dim cmd_exec As New OracleCommand(qry_ins_data, ora_con) 23
  24. 24. ora_con.Open() TextBox2.Enabled = False Dim dr As OracleDataReader = cmd_exec.ExecuteReader() If Not Page.IsPostBack Then Dim adp As New OracleDataAdapter("select User_name,DEPT_CODE fromHINDALCO_MURI ", ora_con) Dim result As Integer = cmd_exec.ExecuteNonQuery() Dim ds As New DataSet() adp.Fill(ds, "p") TextBox4.Text = ds.Tables("p").Rows(0)(0) TextBox5.Text = ds.Tables("p").Rows(0)(1) password = ds.Tables("p").Rows(0)(1) ora_con.Close() TextBox3.Text = String.Format("{0:dd-MMM-yyyy,hh:mm tt}", Today()) DropDownList1.Items.Clear() DropDownList1.DataSourceID = "SqlDataSource1" SqlDataSource1.SelectCommand = "select category_code,category_descfrom comp_category " DropDownList1.DataTextField = "category_desc" DropDownList1.DataValueField = "category_code" DropDownList1.DataBind() DropDownList1.Items.Insert(0, New ListItem("---Category--------","")) SqlDataSource1.Dispose() DropDownList2.Items.Clear() DropDownList2.DataSourceID = "SqlDataSource2" SqlDataSource2.SelectCommand = "selectSUB_CATEGORY_CODE,SUB_CATEGORY_DESC from COMP_SUB_CATEGORY" DropDownList2.DataTextField = "sub_category_desc" DropDownList2.DataValueField = "sub_category_code" DropDownList2.DataBind() DropDownList2.Items.Insert(0, New ListItem("---SubCategory----","")) SqlDataSource2.Dispose() DropDownList3.Items.Clear() DropDownList3.DataSourceID = "SqlDataSource3" SqlDataSource3.SelectCommand = "select COMPTYPE_CODE,COMPTYPE_DESCfrom COMP_TYPE" DropDownList3.DataTextField = "comptype_desc" DropDownList3.DataValueField = "comptype_code" DropDownList3.DataBind() DropDownList3.Items.Insert(0, New ListItem("---Complain Type---","")) DropDownList5.Items.Clear() DropDownList5.DataSourceID = "SqlDataSource4" SqlDataSource4.SelectCommand = "select ASSET_DESC,ASSET_TYPE_CODEfrom ASSET_TYPE" DropDownList5.DataTextField = "ASSET_DESC" DropDownList5.DataValueField = "ASSET_TYPE_CODE" DropDownList5.DataBind() DropDownList5.Items.Insert(0, New ListItem("--------AssetDescription--------", "")) End If 24
  25. 25. End Sub Protected Sub Button4_Click(ByVal sender As Object, ByVal e AsSystem.EventArgs) Handles Button4.Click End Sub Protected Sub Button1_Click(ByVal sender As Object, ByVal e AsSystem.EventArgs) Handles Save.Click Submit Button Dim cmd_exec As New OracleCommand Dim cnt As Integer Dim ecode As String ecode = Session("ecode") If Len(DropDownList1.Text) = 0 Then MsgBox("Complain Category cant be kept blank") ElseIf Len(DropDownList2.Text) = 0 Then MsgBox("Complain SubCategory cant be kept blank") ElseIf Len(DropDownList3.Text) = 0 Then MsgBox("Complain Type cant be kept blank") ElseIf Len(DropDownList5.Text) = 0 Then MsgBox("Complain Description cant be kept blank") Else Dim comp As String Dim tcomp As String Dim p As Integer Dim compn As String compn = "0" ora_con.Open() Dim adp As New OracleDataAdapter("select MAX(COMPL_NO) fromCompliant_Entry where category_code=" & Left(DropDownList1.Text, 2) & "",ora_con) Dim result As Integer = cmd_exec.ExecuteNonQuery() Dim ds As New DataSet() adp.Fill(ds, "p") MsgBox(Mid(Trim(ds.Tables("p").Rows(0)(0)), 12,Len(Trim(ds.Tables("p").Rows(0)(0))))) p = Val(Mid(Trim(ds.Tables("p").Rows(0)(0)), 12,Len(Trim(ds.Tables("p").Rows(0)(0))))) MsgBox(p) p = p + 1 MsgBox(Len(Trim(Str(p)))) If Len(Trim(Str(p))) = 1 Then compn = "00" + Trim(Str(p)) ElseIf Len(Trim(Str(p))) = 2 Then compn = "0" + Trim(Str(p)) End If ora_con.Close() ora_con.Open() Dim adp1 As New OracleDataAdapter("selectcategory_code,category_desc from comp_category where category_code=" &DropDownList1.Text & "", ora_con) Dim ds1 As New DataSet() adp1.Fill(ds, "q") MsgBox(Trim(ds.Tables("q").Rows(0)(0))) comp = Trim(ds.Tables("q").Rows(0)(0)) Randomize() tcomp = comp + "/" + Trim(String.Format("{0:MM}", (Today()))) + "/"+ Trim(Str(Year(Today()))) + "/" + compn 25
  26. 26. DropDownList4.Items.Insert(0, New ListItem(tcomp)) Dim qstring As String qstring = "INSERT INTO COMPLIANT_ENTRY (COMPL_NO, COMPL_DATE,CATEGORY_CODE," qstring += "SUB_CATEGORY_CODE, COMPTYPE_CODE, STATUS_CODE,COMPL_DESC," qstring += "COMPUTER_CODE,ENGG_CODE,COMPTYPE_DESC,REASON)" qstring += "VALUES ( " + DropDownList4.Text + "," +Today().ToString("dd-MMM-yyyy") + "," + DropDownList1.Text + "," +DropDownList2.Text + "," + DropDownList3.Text + ",PEN," +DropDownList5.Text + "," + ecode + ",BH1RU," + TextBox2.Text + "," +TextBox1.Text + ")" qry_ins_data = "insert intoveh_req_details(veh_req_no,veh_req_by,veh_req_veh_type,veh_req_frm,veh_req_to,veh_req_purpose,veh_req_dt,"; qry_ins_data +=veh_req_dept_time,veh_req_duration,veh_req_type,veh_req_status,veh_req_appr_stat,veh_req_by_dept,veh_req_visit_dt,veh_veh_cat,veh_veh_updwn) values("; qry_ins_data += "" + veh_req_no + "," + qstrn + "," + veh_type+ "," + visit_frm + "," + visit_to + "," + visit_pur + ",sysdate," +visit_time + ","; qry_ins_data += "" + duration + "," + visit_type + ",L," +fwd_officer + "," + dept_cd + "," + visit_dt.ToString("dd-MMM-yyyy") +","+ veh_cat +","+ veh_upd +")"; cmd_exec = New OracleCommand(qstring, ora_con) ora_con.Open() Int(cnt = cmd_exec.ExecuteNonQuery()) ora_con.Close() Int(Rnd() * 10000) End If End Sub Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object,ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged DropDownList2.Items.Clear() DropDownList2.DataSourceID = "SqlDataSource2" SqlDataSource2.SelectCommand = "selectSUB_CATEGORY_CODE,SUB_CATEGORY_DESC from COMP_SUB_CATEGORY wherecategory_code=" & DropDownList1.Text & " " DropDownList2.DataTextField = "sub_category_desc" DropDownList2.DataValueField = "sub_category_code" DropDownList2.DataBind() DropDownList2.Items.Insert(0, New ListItem("---SubCategory------", "")) SqlDataSource2.Dispose() DropDownList3.Items.Clear() DropDownList3.DataSourceID = "SqlDataSource3" SqlDataSource3.SelectCommand = "select COMPTYPE_CODE,COMPTYPE_DESC fromCOMP_TYPE" DropDownList3.DataTextField = "comptype_desc" DropDownList3.DataValueField = "comptype_code" DropDownList3.DataBind() DropDownList3.Items.Insert(0, New ListItem("---Complain Type----", "")) 26
  27. 27. DropDownList4.Items.Clear() End Sub Protected Sub DropDownList2_SelectedIndexChanged(ByVal sender As Object,ByVal e As System.EventArgs) Handles DropDownList2.SelectedIndexChanged DropDownList3.Items.Clear() DropDownList3.DataSourceID = "SqlDataSource3" SqlDataSource3.DataBind() SqlDataSource3.SelectCommand = "select COMPTYPE_CODE,COMPTYPE_DESC fromCOMP_TYPE where sub_category_code=" & OT & "" SqlDataSource3.SelectCommand = "select COMPTYPE_CODE,COMPTYPE_DESC fromCOMP_TYPE where sub_category_code=" & DropDownList2.Text & " orsub_category_code=OT" DropDownList3.DataTextField = "COMPTYPE_DESC" DropDownList3.DataValueField = "COMPTYPE_CODE" DropDownList3.DataBind() DropDownList3.Items.Insert(0, New ListItem("---Complain Type---", "")) SqlDataSource3.Dispose() End Sub Protected Sub TextBox2_TextChanged(ByVal sender As Object, ByVal e AsSystem.EventArgs) Handles TextBox2.TextChanged End Sub Protected Sub DropDownList3_SelectedIndexChanged(ByVal sender As Object,ByVal e As System.EventArgs) Handles DropDownList3.SelectedIndexChanged MsgBox(DropDownList3.Text) If DropDownList3.Text = "OT" Then TextBox2.Enabled = True Else TextBox2.Text = "" TextBox2.Enabled = False End If End Sub Protected Sub TextBox1_TextChanged(ByVal sender As Object, ByVal e AsSystem.EventArgs) Handles TextBox1.TextChanged End Sub Protected Sub Button2_Click(ByVal sender As Object, ByVal e AsSystem.EventArgs) Handles Button2.Click Submit Button Dim cmd_exec As New OracleCommand Dim ecode As String ecode = Session("ecode") ora_con.Open() Dim adp As New OracleDataAdapter("select COMPL_NO from Compliant_Entrywhere COMPUTER_CODE=" + ecode + "", ora_con) DropDownList4.Items.Clear() DropDownList4.DataSourceID = "SqlDataSource5" SqlDataSource5.SelectCommand = ("select COMPL_NO,COMPUTER_CODE fromCompliant_Entry where COMPUTER_CODE=" + ecode + "") DropDownList4.DataTextField = "COMPL_NO" DropDownList4.DataValueField = "COMPL_NO" 27
  28. 28. DropDownList4.DataBind() DropDownList4.Items.Insert(0, New ListItem("---Complain No-----", "")) SqlDataSource5.Dispose() ora_con.Close() Dim p As String Dim q As String Dim ds As New DataSet() p = DropDownList4.Text() q = Val(Mid(Trim("p"), 2)) ora_con.Open() Dim adp As New OracleDataAdapter("select category_code, category_descfrom comp_category where category_code=" + q + "", ora_con) DropDownList1.Items.Clear() DropDownList1.DataSourceID = "SqlDataSource1" SqlDataSource1.SelectCommand = ("select category_code, category_descfrom comp_category where category_code=" + q + "") DropDownList1.DataTextField = "category_desc" DropDownList1.DataValueField = "category_desc" DropDownList1.DataBind() DropDownList1.Items.Insert(0, New ListItem("---Category--------", "")) SqlDataSource1.Dispose() ora_con.Close() TextBox1.Enabled = True End SubEnd Class 28
  29. 29. Figure 7.Complain PageStep 8: Building the Feedback Page:Partial Class Feedback Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)Handles Me.Load End Sub Protected Sub Complain_CheckedChanged(ByVal sender As Object, ByVal e AsSystem.EventArgs) Handles Complain.CheckedChanged End SubEnd Class 29
  30. 30. Figure 8.Feedback PageSetting Build and Deployment Properties for Web Development ProjectsASP.NET Web development projects use the same configuration settings and behaviors as VisualStudio 2005 class-library projects. We can access these configuration settings by right-clicking theproject name in Solution Explorer and selecting Properties. This displays the project propertieseditor. We can use the editor to change properties such as the name of the generated assembly, thebuild compilation settings for the project, its references, its resource string values, and code-signingsettings: 30
  31. 31. Figure 9.Converting a single page to Web development project formatThe Future of Web Development ProjectsWeb development projects provide a compilation and build model very similar to the one used inVisual Studio .NET 2005. Web development projects provide the best path for upgrading existingVisual Studio .NET 2005 developments, and are highly recommended for that scenario.We want to emphasize these important points about the future of Visual Studio 2005 Webdevelopment projects: Going forward, we will fully support both the Visual Studio 2005 Web site project model and Visual Studio 2005 Web development project model. We can choose whichever model works best for us. In future versions of Visual Studio, the Web development project model will be built in, and both the Web development project model and Web site project model will be supported. 31
  32. 32. Introduction to the Oracle ServerOracle DatabaseAn Oracle database is a collection of data treated as a unit. The purpose of a database is to store and retrieverelated information. A database server is the key to solving the problems of information management. Ingeneral, a server reliably manages a large amount of data in a multiuser environment so that many users canconcurrently access the same data. All this is accomplished while delivering high performance. A databaseserver also prevents unauthorized access and provides efficient solutions for failure recovery.The database has logical structures and physical structures. Because the physical and logical structures areseparate, the physical storage of data can be managed without affecting the access to logical storagestructures.How Oracle Works:The following steps describe the most basic level of operations that Oracle performs. This illustrates anOracle configuration where the user and associated server process are on separate machines (connectedthrough a network). 1. An instance has started on the computer running Oracle (often called the host or database server). 2. A computer running an application (a local machine or client workstation) runs the application in a user process. The client application attempts to establish a connection to the server using the proper Oracle Net Services driver. 3. The server is running the proper Oracle Net Services driver. The server detects the connection request from the application and creates a dedicated server process on behalf of the user process. 4. The user runs a SQL statement and commits the transaction. For example, the user changes a name in a row of a table. 5. The server process receives the statement and checks the shared pool for any shared SQL area that contains a similar SQL statement. If a shared SQL area is found, then the server process checks the user’s access privileges to the requested data, and the previously existing shared SQL area is used to process the statement. If not, then a new shared SQL area is allocated for the statement, so it can be parsed and processed. 6. The server process retrieves any necessary data values from the actual data file (table) or those stored in the SGA. 7. The server process modifies data in the system global area. The DBWn process writes modified blocks permanently to disk when doing so is efficient. Because the transaction is committed, the LGWR process immediately records the transaction in the online redo log file. 8. If the transaction is successful, then the server process sends a message across the network to the application. If it is not successful, then an error message is transmitted. 9. Throughout this entire procedure, the other background processes run, watching for conditions that require intervention. In addition, the database server manages other users’ transactions and prevents contention between transactions that request the same data. 32
  33. 33. Client/Server ArchitectureMultiprocessing uses more than one processor for a set of related jobs. Distributed processing reduces theload on a single processor by allowing different processors to concentrate on a subset of related tasks, thusimproving the performance and capabilities of the system as a whole. An Oracle database system can easilytake advantage of distributed processing by using its client/server architecture. In this architecture, thedatabase system is divided into two parts: a front-end or a client and a back-end or a server. The Client: The client is the front-end database application, accessed by a user through the keyboard, display, and pointing device, such as a mouse. The client has no data access responsibilities. It requests, processes, and presents data managed by the server. The client workstation can be optimized for its job. For example, it might not need large disk capacity, or it might benefit from graphic capabilities. Often, the client runs on a different computer than the database server, generally on a PC. Many clients can simultaneously run against one server. The Server: The server runs Oracle software and handles the functions required for concurrent, shared data access. The server receives and processes the SQL and PL/SQL statements that originate from client applications. The computer that manages the server can be optimized for its duties. For example, it can have large disk capacity and fast processors.Examples:CREATE TABLE HINDALCO_MURI (SR_NO NUMBER (3), USER_NAME VARCHAR2 (20), USER_ID NUMBER(10), USER_DOB DATE, USER_PASSWORD NUMBER (10), CITY VARCHAR (15));DESC HINDALCO_MURI;INSERT INTO HINDALCO_MURI VALUES (001, ’DAVIS’, ’123’, ’14-FEB-1988’, 84721600, ‘PATNA’);DELETE FROM employees WHERE last_name IN (’WARD’,’JONES’);SELECT * FROM HINDALCO_MURI;DROP DOWN TABLE HINDALCO_MURI;CLEAR SCREEN;ALTER TABLE HINDALCO_MURI MODIFY (DEPT_NAME VARCHAR (10));UPDATE HINDALCO_MURI SET USER_ID=130 WHERE SR_NO=8;ALTER TABLE HINDALCO_MURI ADD (USER_DOJ DATE);GRANT SELECT ON employees TO Scott;REVOKE DELETE ON employees FROM Scott;COMMIT;DELETE FROM HINDALCO_MURI WHERE SR_NO=’5’;SET NUMW 12SET LINES 30000SET PAGES 30000; 33
  34. 34. Appendix A: Known IssuesThis appendix lists known issues with Web development projects.Issue 1: Data ScenariosThere are known issues when using data-bound controls and SQL Server 2005 Express with the April 2006release of Web development projects. For a list of issues and workarounds, see the whitepaper named "UsingData-Bound Controls and SQL Server Express with Web Development Projects," which is available on theVisual Studio 2005 Web Development Projects page on the ASP.NET Developer Center.Issue 2: Visual Basic Inline Code Might Not Be Converted CorrectlyWhen we upgrade a Visual Studio .NET 2003 project to Visual Studio 2005, Visual Basic code insingle-file Web pages or user controls is not converted to use the new Visual Basic 2005 syntax.This can lead to compile time errors when building wer converted Web project. We will need tomanually fix these errors and recompile the affected pages. Visual Basic code in code-behind files isconverted and should compile correctly. 34
  35. 35. To add a SQL Data Source: 1. Open the VB.NET page. 2. Click on the View Menu > Toolbox > Data > SQL data Source. 3. Drag & Drop SQL Data Source on the .aspx page. 4. Click on Configure Data Source. 5. Click on New String > Specify columns from a table > Finish.To add a namespace to the project: 1. Open the Web.config file. 2. Add or edit the <namespaces> element as a child of the <pages> element, as in the following example: 3. <pages> 4. <namespaces> 5. <add namespace="wap1"/> 6. </namespaces> </pages>Issue 3: Converting the Personal Web Site (Visual Basic)When converting the Visual Basic version of the Personal Web Site starter kit to a Web developmentproject, we will see a run-time error similar to the following:Server Error in / DevelopmentThe type specified in the TypeName property of ObjectDataSource ObjectDataSource1 could not be foundTo resolve the error, we must add the project namespace to the TypeName property. Assuming werproject namespace is "wap1", follow these steps. 1. Open the Member_List.aspx page. 2. Change the type name in the ObjectDataSource declaration to be fully qualified, as in the following example: 35
  36. 36. Conclusion:As web developers, we are constantly trying to address the problem of inconsistencies between therenderings of web pages by different browsers and browser versions. This necessitates either time-consuming double/multiple coding, or coding for a single browser which makes it harder, if notimpossible, for some of the public to use the site. The standards are for the most part decided byrepresentatives of the same people who use those— browser makers, web developers, contentproviders, and other organizations.Writing web pages in accordance with the standards shortens site development time and makespages easier to maintain. Debugging and troubleshooting become easier, because the code follows astandard. No longer do you have to worry about the coding and maintenance for several versions ofcode that are supposed to accomplish the same presentation. One version of your site and that is it.The universal adoption of web standards is becoming of paramount importance. The mission of TheWeb Standards Project is to make the Web a better place, for developers and for end-users, byencouraging browser and web page editor makers to follow the standards in their applications. Thiseffort will be greatly helped when web developers use the standards as a matter of course, and insistthat generators and renderers of their code comply with the standards.The reasons we have given should give you, the web developer, plenty of incentive to begin usingstandards, and also plenty of ammunition with which you can encourage your place of business andfellow developers to use those standards. 36
  37. 37. Suggestion:Of all the features requested for the VB.NET, the most common is inheritance. As we’ve seen, not only doesVB.NET provide us with inheritance, but we also gain a number of other important new features andenhancements.VB.NET enhances the way we create and work with multiple interfaces, making them far easier to use.Additionally, through the support for events as being a formal part of an interface, we can now express all theelements of an interface through this mechanism – methods, properties, and events. The elimination ofreference counting in favor of a garbage collection scheme for object termination will be a non-issue.However, it is important to be aware of this change, since an object that maintains a reference to expensivesystem resources will need some mechanism other than its termination to release those valuable resources.Overall, VB.NET dramatically enhances our ability to create applications with VB.NET, while preserving thevast majority of the features we have become used to in previous versions of the language. 37
  38. 38. References: http://www.web-source.net/ http://www.developmentindia.com/ http://msdn.microsoft.com/en-us/library/ms525070%28v=vs.90%29.aspx http://www.homeandlearn.co.uk/net/vbnet.html http://en.wikipedia.org/wiki/Visual_Basic_.NET http://www.imagehousing.com/imageupload.php?id=625518 38