-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
1/38
HINDALCOINDUSTRIESLIMITED,MuriWorks
[Ranchi,Jharkhand]
[2011]
WEBDEVELOPMENTPROJ
ECT
Submitted By:
Manohar Prasad, PGDM (IT)
Email ID: [email protected]
SURYADATTA INSTITUTE OF MANAGEMENT &MASS COMMUNICATION,
PUNE
2010 -2012
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
2/38
2
ACKNOWLEDGEMENT
I take immense pleasure in thanking Dr. Sanjay B. Chordia,
Chairman, Suryadatta institute of management
and 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, Suryadatta
institute of management and mass communication for their
guidance and useful suggestions, which helped me
in 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. I
would 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, Assistant
Manager, IT, Hindalco Industries ltd. Muri Works, Ranchi.
I am thankful to the employees of IT Hardware department for
their co-operation to me during my
project work.
Finally, yet importantly I would like to express my heartfelt
thanks to my beloved parents for their
blessings, my friends, and all those who supported me directly
or indirectly for their help and wishes for
successful completion of this project.
Manohar Prasad
PGDM (IT) 2010 -12
SIMMC, PUNE
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
3/38
3
Declaration
I am very well aware of the ethics and guidelines one has to
follow while working on a project in a disciplined
manner. 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 I
declare it as true and the collection made through own website
and by my own personal observation and
experience. The theoretical part is gathered from various
Website Development reference books.
Manohar Prasad
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
4/38
4
CONTENTS
I) Introduction.5 Reason for selection of the topic.5 Importance
of the topic.. .....5
II) Organizational Profile.6 History6 Vision ..6 Mission ....6
Values .6 Empowered People Empowered Minds..6
III) Website development process7-11 Domain name Registration8-9
Web Hosting ..9 Web Design.. 10 Web Development10-11 Web
Maintenance.11 Content Management System...11
IV) 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 page20-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.31
V) Introduction to the Oracle Server..32 Oracle Database.32 How
Oracle Works32 Client/Server Architecture.33-35
VI) Conclusion36VII) Suggestion.37VIII) References.38
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
5/38
5
Introduction to Web Development Project
The Web Development Project provides a Visual Studio 2005 Web
project option that works like the Visual
Studio .NET 2005 Web project model. Here, the new project type
is referred to as a Web development
project. We can use Web development projects as an alternative
to the Web site project model already
available 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 tousers and makes the
Internet more understandable for search engine robots.
Better Earnings: Web development has taken form of an industry
with people earning a goodamount 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 tomake website, developing different
portals for business and other web linked activities.
Great Opportunity:Companies are increasingly using websites to,
not just advertise theirproducts and services, but also to generate
revenue.
Importance of Web Development Project to the organization:
In todays 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 manyweb development
companies use this technology to develop applications because of
its robustness to develop Web solutions. It
makes use of .NET framework, which includes an extensive class
library that contains predefined functions
for 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 Web
apps. It gives the interaction between the applications run in
different environments. It also supports the
Oracle, Microsoft SQL Server and DB2.
http://www.perceptionsystem.com/asp-net-programming-development.htmlhttp://www.perceptionsystem.com/asp-net-programming-development.htmlhttp://www.perceptionsystem.com/web-development-services.htmlhttp://www.perceptionsystem.com/web-development-services.htmlhttp://www.perceptionsystem.com/web-development-services.htmlhttp://www.perceptionsystem.com/asp-net-application-development.htmlhttp://www.perceptionsystem.com/asp-net-application-development.htmlhttp://www.perceptionsystem.com/asp-net-application-development.htmlhttp://www.perceptionsystem.com/web-development-services.htmlhttp://www.perceptionsystem.com/asp-net-programming-development.html
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
6/38
6
Organizational Profile
Hindalcos presence in Jharkhand dates back to 1943 when mining
commenced in Bagru in Lohardaga
district. Commissioned in 1948, the Muri Alumina plant was
Indias first alumina refinery. It is located on the
bank of Subarnarekha River in Chhotamuri village, 60 kilometer
from the town Ranchi. The recently
expanded 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 and
plastic industries.
A management team of 67 people work tirelessly to ensure
stringent quality and delivery standards at
competitive costs. A 30 MW coal-based captive power plant
provides uninterrupted power supply to the
refinery as well as to the surrounding colony. The expanded
plant is equipped with advanced and latest
technology available in the field of alumina manufacturing.
Committed to sustainable development, Hindalco
Muri partners the community in social projects, particularly
womens empowerment improved agricultural
methods 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 for
its stakeholders.
Mission
To relentlessly pursue the creation of superior shareholder
value, by exceeding customer expectation
profitably, 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 Minds
At the heart of Hindalcos 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 a
common mission to create superior value for all
stakeholders.
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
7/38
7
Website Development Process
Analysis:
We ask questions on your business, your clients, budget, goals,
and expectations. We analyze your current
position 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 budget
for website development, your competition, and time. We will be
providing you our suggestions and sharing
our experience as well as others. We understand a free and open
discussion needed to move forward and
expect the same.
Specification:
Based on the discussions and analysis, we prepare a draft
specification of web pages to be developed
including the sitemap, process charts, estimated time and cost.
This website development specification will be
reviewed and revised if needed.
Design & Development:
Design and development plays an important role in web
development. Graphical look and feel will begin to
take shape after we get the graphical elements. Graphical
elements required for design are client logo, product
photographs, ISO and other certification logos, brand identity,
and others. Usually our clients provide the
graphical elements. If needed we also design logos, prepare
charts, graphs, draw illustrations and arrange
photographers and other creative professionals for content
development.
We use colors and images that are in tune with your products,
brands and services. We provide webpage
design graphic for clients for review and incorporate the
changes. Our web page design graphic includes
mock-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 engine
optimization. A clear and concise content is absolutely
necessary to communicate with website visitors. A
professionally 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, contact
address, 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 with
website keywords to improve the search engine ranking and
navigation. We constantly improve the quality of
website code by using many tools and proven techniques to ensure
the website meets the standards. As a
software developer we know the importance of maintainable,
dependable and well-written code.
http://www.shriasys.com/logo_design.htmlhttp://www.shriasys.com/web_design.htmlhttp://www.shriasys.com/web_design.htmlhttp://www.shriasys.com/web_design.htmlhttp://www.shriasys.com/web_design.htmlhttp://www.shriasys.com/search_engine_opt.htmlhttp://www.shriasys.com/search_engine_opt.htmlhttp://www.shriasys.com/technology.htmlhttp://www.shriasys.com/technology.htmlhttp://www.shriasys.com/search_engine_opt.htmlhttp://www.shriasys.com/search_engine_opt.htmlhttp://www.shriasys.com/web_design.htmlhttp://www.shriasys.com/web_design.htmlhttp://www.shriasys.com/logo_design.html
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
8/38
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. We
carryout functional tests on website processes like
registration, mails, payments, etc and Load tests according
to 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 your
website on web and bring more visitors to your website are
listed below.
1. Search Engine2. Directories3. Emails4. RSS Feeds5. Blogs6.
Social Networks7. 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 customers
up-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 you
website maintenance support at competitive and flexible
rates.
1. Domain Name Registration
The domain name can give you a first impression, provide you an
extension to the outside world, and is your
new business plan. Choosing a professional domain name that is
right for your business is not always as easy
as it may seem. Shriasys guides you in selecting a new domain
name for your new plan. We check your oryour company's first choice
for a domain name and provide immediate suggestions and choice. The
domains
extension are registered thru us are .com, .net, .org, .info,
.biz, .in, .co.in
Kindly note having a great domain name will not automatically
drive traffic to your website. It can be one of
the 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 the
domain 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
http://www.shriasys.com/web_hosting.htmlhttp://www.shriasys.com/web_maintenance.htmlhttp://www.shriasys.com/web_maintenance.htmlhttp://www.shriasys.com/web_hosting.html
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
9/38
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 Hosting
The 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 Hosting
Development 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 tested
and 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 Hosting
To make use of facilities offered by hosting provider according
to the needs of the customer gives a leading
edge over others. We don't sell server space alone but we sell
customized solutions to customers. We analyze
the web hosting requirements, explain about the various hosting
options, and suggest hosting to customers. It
is important to choose customized hosting and email solutions
according to the needs keeping extendibility
and support in mind. With Shriasys web hosting customers can
have many options designed to fit specific
needs.
Email Solutions
The world class email solutions are getting better day by day.
If you are a corporate business house looking
for 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 protection
Technical Support
The Highly experienced and talented team of professionals works
towards customer service support and
check server health, security, and backup critical data. Under
customized backup option we even backup your
data on a daily basis. We inform personally over email on server
maintenance and upgrade times well inadvance and address your
concerns.
http://www.shriasys.com/web_hosting.htmlhttp://www.shriasys.com/web_design.htmlhttp://www.shriasys.com/content_management.htmlhttp://www.shriasys.com/shopping_cart.htmlhttp://www.shriasys.com/shopping_cart.htmlhttp://www.shriasys.com/content_management.htmlhttp://www.shriasys.com/web_design.htmlhttp://www.shriasys.com/web_hosting.html
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
10/38
10
3. Web Design
With the spectacular growth of the internet, new opportunities
are available for business across the world. It is
now essential to have a web presence and India has become the
hub for web design and website development
for companies across the world. Shriasys is a complete website
development firm in India offering complete
web services including web design, web development, e-commerce
solutions, website redesign, websiteupdations, shopping cart
solutions, online showroom concepts and search engine optimisation.
We work and
deliver 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
on
Microsoft Windows. Our skills in audio, video and a variety of
media to provide a rich media experience to
the customers. We design and build our web pages conforming to
World Wide Web Consortium (W3C.org)
standards, ensuring interoperability with current and future web
technologies
Choosing the right web designing firm is essential for
successful completion of your web design endeavor. It
does matter if you are a start up, or an established business
looking for web design, it is imperative that you
should 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
web
development experience have kept an excellent standard in
meeting modern customer web design needs.
Website Redesign Services
There 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 costlier
4. Web Development
Web Development Solutions includes: Website development offer
web services like search engineoptimization, shopping cart, web
hosting, email solutions, ecommerce websites, content
management
websites 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 ability
to apply in web pages has provided customized solutions to our
customers.
Corporate Company Website Hospital Website College Website
http://www.shriasys.com/search_engine_opt.htmlhttp://www.shriasys.com/search_engine_opt.htmlhttp://www.shriasys.com/search_engine_opt.htmlhttp://www.shriasys.com/web_design.htmlhttp://www.shriasys.com/web_design.htmlhttp://www.shriasys.com/search_engine_opt.htmlhttp://www.shriasys.com/search_engine_opt.html
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
11/38
11
School Website Real Estate Website Online Learning Management
Website Products Shopping Cart Website Community Website
Associations and Membership Website
5. Web Maintenance
A good, business-generating website needs to be dynamic. Website
text and graphics needs to change
frequently 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 commitment
giving 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 developers
whose 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
running
You may need website maintenance support once in a week or in a
month or quarterly. We make changes to
the 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 project
size 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 largely
depends on the work involved. If you have already got a web site
that requires a maintenace, provide your
Website details, Website URL, your contact details and type of
work to be done.
6. Content Management System (CMS)
Content Management websitesare 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 aspect
of your web site through a sophisticated control panel, which
gives control over the content, insight into the
exact operation and performance of the system. This includes
systems to examine (in real time) the
provenance of your web traffic, the effectiveness of your search
engine efforts, and to quickly and easily fine
tune and update those aspects.
http://www.shriasys.com/active/http://www.shriasys.com/content_management.htmlhttp://www.shriasys.com/content_management.htmlhttp://www.shriasys.com/content_management.htmlhttp://www.shriasys.com/active/
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
12/38
12
Data Analysis & Interpretation
ER-DIAGRAM OF HINDALCO MURI, IT DEPARTMENT
1 1
M
M
Installing Web Development Projects
Visual Studio 2005 requires us to install an update and an
add-in to Visual Studio 2005. The two installations
perform the following tasks:
The update makes changes to Visual Studio 2005 that is required
so the Web project conversionwizard and designer will work well
with Web development projects. We can download the updatefrom 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 candownload it from the Visual Studio 2005
Web Development Projects page on the ASP.NET
Developer Center.
IT DepartmentRun by
Hindalco
Industries
IT Manager
Complain
Registration
Employee Engineer/Supervisor
Project
http://go.microsoft.com/fwlink/?LinkId=63636http://go.microsoft.com/fwlink/?LinkId=57541http://go.microsoft.com/fwlink/?LinkId=57541http://go.microsoft.com/fwlink/?LinkId=63636
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
13/38
13
Scenario 1: Creating a New Web Development Project
This section walks us through creating a new Web development
project. It also examines how page code is
handled in a Visual Studio 2005 Web development project.
Step 1: Create a New Project
To start, create a new Web development project. In Visual
Studio, from the File menu, clickNew Project,
displays the New Project dialog box.
Under Project types, open the Visual Basic node, and then under
Visual Studio installed templates, click
ASP.NET Web Development:
s
Figure 1. Creating a new Web Development Project
Name the project and specify a location. When we click OK,
Visual Studio creates and opens a new Web
project with a single page named Default.aspx, an
AssemblyInfo.cs files Default.aspx.vb, and a Web.config
file:
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
14/38
14
Figure 2.Web development project
This 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 (.vb
file) contains the page class where we put wer code and event
handlers. The Default.aspx.designer.cs file (.vb
file) is a new file used in Web development projects to contain
the code that is generated and maintained by
Visual Studio for the page. Both files contain a partial class.
During compilation, the files are combined into a
single 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 server
controls:
Hindalco Web Development//
function Checkbox1_onclick() {
}
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
15/38
15
function Checkbox1_onclick() {
}
function Text2_onclick() {
}
function Submit2_onclick() {
}
// ]]>
Hindalco Industries Ltd.
Intranet Web Service
IT Call Up Service, Muri
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
16/38
16
Support
Muri Works Website
For access to all staff and officers of Hindalco-MURI, simply
logon.
You'll haveaccess to a host of information and personalized
services available
through a singlelocation.
Notice to Users
This website is the property of Hindalco-MURI.It
is accessible over the intranet for the use of companyemployees
only.
All users and contents of the site may be intercepted,monitored,
recorded, audited
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
17/38
17
or inspected. By Using the site user consents and acceptsthe
terms & conditions
specified herein.
Unauthorized or improper use of the site may result
intoadministrative disciplinary
action. Please DO NOT LOGON
if you do not agree to any of the stated
conditions.
Copyright @ IT Department, Hindalco-MURI.
Hindalco Industries Ltd. (Muri Works)PO: Ranchi,
District:Ranchi(Jharkhand):835101
+
Muri Works, Ranchi-835101
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
18/38
18
text-decoration: underline">Signin to Register Complain User
Name:
Password :
User Name: Employee CodeDefault Password: Date
of Birth(DD-MON-YYYY)Website Help DeskPhone:
Internal- P&T:Email:Support Time: 8:00AM To 5:30PM (IST)
Monday To Saturday
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
19/38
19
(Except Public Holiday)Report misuse by Email to Mail Admin.
In Web development projects, code generation for server controls
is improved in the Visual Studio .NET 2005
in two important ways:
We no longer have to switch the page to Design view to update
the control declarations. The designermonitors 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 page's code-behind class.
Because the .designer.cs file is automatically updated with the
control declarations, we can go directly to the
Default.aspx.cs code-behind class file and program any of the
controls on the page, as in the following
example:
Step 3: Build the Server Connection:
Run the project in debug mode by pressing F5 or clicking Run in
the Debug menu. By default, Web
development projects use the built-in ASP.NET Development Server
using a random port as the root site.
Example:
Public ora_con
AsNewOracleConnection(ConfigurationManager.ConnectionStrings("ITCALL_Conn").Connectio
nString.ToString)
Public ora_con
AsNewOracleConnection(ConfigurationManager.ConnectionStrings("Local_Conn").ConnectionString.ToString)
Figure 3.Server Explorer
Step 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
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
20/38
20
running, Visual Studio attaches a debugger to the Web server
process. All project settings are saved
in a standard MSBuild project file. All project settings are
saved in a standard MSBuild project file.
Figure 4.Solution Explorer
Step 5: Building the Default Page:
Imports System.Data.OracleClientImports System.DataPartialClass
_Default
Inherits System.Web.UI.PagePublic ora_con AsNew
OracleConnection(ConfigurationManager.ConnectionStrings("ITCALL_Conn").ConnectionString.ToString)
Public name(2) AsStringDim password AsDateDim IntRec
AsIntegerProtectedSub Page_Load(ByVal sender AsObject, ByVal e As
System.EventArgs)
HandlesMe.Load'Dim cmd_exec As New OracleCommand(qry_ins_data,
ora_con)ora_con.Open()'Dim dr As OracleDataReader =
cmd_exec.ExecuteReader()Dim adp AsNew OracleDataAdapter("select
computer_code,dt_of_birth from
emp_static ", ora_con)'Dim result As Integer =
cmd_exec.ExecuteNonQuery()
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
21/38
21
Dim ds AsNew 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()
EndSubProtectedSub Button1_Click(ByVal sender AsObject, ByVal e
As
System.EventArgs) Handles Button1.Click'Dim ecode As StringIf
password = TextBox2.Text Then
'MsgBox("You have Successfully SignedIn")Session("ecode") =
TextBox1.TextResponse.Write("alert('You have
Successfully
SignedIn!!')")Response.Redirect("Menu_Page.aspx")
ElseResponse.Write("alert('Either your
User ID or Password does not matches')")'MsgBox("Either your
User ID or Password does not matches")
EndIf
EndSub
PublicSubNew()
EndSub
ProtectedOverridesSub Finalize()MyBase.Finalize()
EndSub
ProtectedSub TextBox1_TextChanged(ByVal sender AsObject, ByVal e
AsSystem.EventArgs) Handles TextBox1.TextChanged
EndSubEndClass
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
22/38
22
Figure 5.Login Page
This is the Login page through which the employee of the
Organization can login to register complain by their
employee code as a user name and their date-of-birth as their
default password. If the password and the user
name dont matches with, then the employee cant login. It
displays a prompt message.
But after successfully login, the menu page gets opened.
Step 6: Building the Menu Page:
PartialClass Menu_PageInherits System.Web.UI.Page
EndClass
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
23/38
23
Figure 6.Menu Page
In 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.OleDb
PartialClass Default2Inherits System.Web.UI.PagePublic ora_con
AsNew
OracleConnection(ConfigurationManager.ConnectionStrings("Local_Conn").ConnectionString.ToString)
Public name(2) AsStringDim password AsDateProtectedSub
Page_Load(ByVal sender AsObject, ByVal e As System.EventArgs)
HandlesMe.Load'Dim cmd_exec As New OracleCommand(qry_ins_data,
ora_con)
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
24/38
24
ora_con.Open()TextBox2.Enabled = False'Dim dr As
OracleDataReader = cmd_exec.ExecuteReader()IfNot Page.IsPostBack
Then
Dim adp AsNew OracleDataAdapter("select User_name,DEPT_CODE
fromHINDALCO_MURI ", ora_con)
'Dim result As Integer = cmd_exec.ExecuteNonQuery()Dim ds AsNew
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_desc
from 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 = "select
SUB_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_DESC
from 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_CODE
from ASSET_TYPE"DropDownList5.DataTextField =
"ASSET_DESC"DropDownList5.DataValueField =
"ASSET_TYPE_CODE"DropDownList5.DataBind()DropDownList5.Items.Insert(0,
New ListItem("--------Asset
Description--------", ""))EndIf
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
25/38
25
EndSubProtectedSub Button4_Click(ByVal sender AsObject, ByVal e
As
System.EventArgs) Handles Button4.Click
EndSub
ProtectedSub Button1_Click(ByVal sender AsObject, ByVal e
AsSystem.EventArgs) Handles Save.Click
'Submit ButtonDim cmd_exec AsNew OracleCommandDim cnt
AsIntegerDim ecode AsStringecode = Session("ecode")If
Len(DropDownList1.Text) = 0 Then
MsgBox("Complain Category can't be kept blank")ElseIf
Len(DropDownList2.Text) = 0 Then
MsgBox("Complain SubCategory can't be kept blank")ElseIf
Len(DropDownList3.Text) = 0 Then
MsgBox("Complain Type can't be kept blank")ElseIf
Len(DropDownList5.Text) = 0 Then
MsgBox("Complain Description can't be kept blank")Else
Dim comp AsStringDim tcomp AsStringDim p AsIntegerDim compn
AsStringcompn = "0"'ora_con.Open()Dim adp AsNew
OracleDataAdapter("select MAX(COMPL_NO) from
Compliant_Entry where category_code='" &
Left(DropDownList1.Text, 2) & "'",ora_con)
'Dim result As Integer = cmd_exec.ExecuteNonQuery()Dim ds AsNew
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 +
1MsgBox(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))EndIfora_con.Close()
'ora_con.Open()Dim adp1 AsNew OracleDataAdapter("select
category_code,category_desc from comp_category where
category_code='" &DropDownList1.Text & "'", ora_con)
Dim ds1 AsNew 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
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
26/38
26
DropDownList4.Items.Insert(0, New ListItem(tcomp))Dim qstring
AsStringqstring = "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)
EndIfEndSubProtectedSub DropDownList1_SelectedIndexChanged(ByVal
sender AsObject,
ByVal e As System.EventArgs) Handles
DropDownList1.SelectedIndexChangedDropDownList2.Items.Clear()DropDownList2.DataSourceID
= "SqlDataSource2"SqlDataSource2.SelectCommand = "select
SUB_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 from
COMP_TYPE"DropDownList3.DataTextField =
"comptype_desc"DropDownList3.DataValueField =
"comptype_code"DropDownList3.DataBind()DropDownList3.Items.Insert(0,
New ListItem("---Complain Type----", ""))
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
27/38
27
DropDownList4.Items.Clear()EndSub
ProtectedSub DropDownList2_SelectedIndexChanged(ByVal sender
AsObject,ByVal e As System.EventArgs) Handles
DropDownList2.SelectedIndexChanged
DropDownList3.Items.Clear()DropDownList3.DataSourceID =
"SqlDataSource3"SqlDataSource3.DataBind()'SqlDataSource3.SelectCommand
= "select COMPTYPE_CODE,COMPTYPE_DESC from
COMP_TYPE where sub_category_code='" & OT &
"'"SqlDataSource3.SelectCommand = "select
COMPTYPE_CODE,COMPTYPE_DESC from
COMP_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()
EndSub
ProtectedSub TextBox2_TextChanged(ByVal sender AsObject, ByVal e
AsSystem.EventArgs) Handles TextBox2.TextChanged
EndSub
ProtectedSub DropDownList3_SelectedIndexChanged(ByVal sender
AsObject,ByVal e As System.EventArgs) Handles
DropDownList3.SelectedIndexChanged
MsgBox(DropDownList3.Text)If DropDownList3.Text = "OT"Then
TextBox2.Enabled = TrueElse
TextBox2.Text = ""TextBox2.Enabled = False
EndIf
EndSub
ProtectedSub TextBox1_TextChanged(ByVal sender AsObject, ByVal e
AsSystem.EventArgs) Handles TextBox1.TextChanged
EndSub
ProtectedSub Button2_Click(ByVal sender AsObject, ByVal e
AsSystem.EventArgs) Handles Button2.Click
'Submit ButtonDim cmd_exec AsNew OracleCommand
Dim ecode AsStringecode = Session("ecode")'ora_con.Open()'Dim
adp As New OracleDataAdapter("select COMPL_NO from
Compliant_Entry
where COMPUTER_CODE='" + ecode + "'",
ora_con)DropDownList4.Items.Clear()DropDownList4.DataSourceID =
"SqlDataSource5"SqlDataSource5.SelectCommand = ("select
COMPL_NO,COMPUTER_CODE from
Compliant_Entry where COMPUTER_CODE='" + ecode +
"'")DropDownList4.DataTextField =
"COMPL_NO"DropDownList4.DataValueField = "COMPL_NO"
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
28/38
28
DropDownList4.DataBind()DropDownList4.Items.Insert(0, New
ListItem("---Complain No-----",
""))SqlDataSource5.Dispose()ora_con.Close()
Dim p AsStringDim q AsStringDim ds AsNew DataSet()p =
DropDownList4.Text()q = Val(Mid(Trim("p"), 2))'ora_con.Open()'Dim
adp As New OracleDataAdapter("select category_code,
category_desc
from comp_category where category_code='" + q + "'",
ora_con)DropDownList1.Items.Clear()DropDownList1.DataSourceID =
"SqlDataSource1"SqlDataSource1.SelectCommand = ("select
category_code, category_desc
from 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 = TrueEndSub
EndClass
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
29/38
29
Figure 7.Complain Page
Step 8: Building the Feedback Page:
PartialClass FeedbackInherits System.Web.UI.Page
ProtectedSub Page_Load(ByVal sender AsObject, ByVal e As
System.EventArgs)HandlesMe.Load
EndSub
ProtectedSub Complain_CheckedChanged(ByVal sender AsObject,
ByVal e AsSystem.EventArgs) Handles Complain.CheckedChanged
EndSubEndClass
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
30/38
30
Figure 8.Feedback Page
Setting Build and Deployment Properties for Web Development
Projects
ASP.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
the
project name in Solution Explorer and selecting Properties. This
displays the project properties
editor. 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-signing
settings:
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
31/38
31
Figure 9.Converting a single page to Web development project
format
The Future of Web Development Projects
Web 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
existing
Visual 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 VisualStudio 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 theWeb development project model
and Web site project model will be supported.
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
32/38
32
Introduction to the Oracle Server
Oracle DatabaseAn Oracle database is a collection of data
treated as a unit. The purpose of a database is to store and
retrieve
related information. A database server is the key to solving the
problems of information management. Ingeneral, a serverreliably
manages a large amount of data in a multiuser environment so that
many users can
concurrently access the same data. All this is accomplished
while delivering high performance. A database
server 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 are
separate, the physical storage of data can be managed without
affecting the access to logical storage
structures.
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
(connected
through a network).
1. An instance has started on the computer running Oracle (often
called the host ordatabase server).
2. A computer running an application (a local machine or client
workstation) runs theapplication 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 userchanges a name in a row of a table.5. The
server process receives the statement and checks the shared poolfor
any sharedSQL area that contains a similar SQL statement. If a
shared SQL area is found, then
the server process checks the users access privileges to the
requested data, and thepreviously 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 processwrites 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 thenetwork 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 forconditions that require intervention. In
addition, the database server manages other
users transactions and prevents contention between transactions
that request thesame data.
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
33/38
33
Client/Server Architecture
Multiprocessing uses more than one processor for a set of
related jobs. Distributed processing reduces the
load on a single processor by allowing different processors to
concentrate on a subset of related tasks, thus
improving the performance and capabilities of the system as a
whole. An Oracle database system can easily
take 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 optimizedfor 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. Forexample, 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;
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
34/38
34
Appendix A: Known Issues
This appendix lists known issues with Web development
projects.
Issue 1: Data Scenarios
There are known issues when using data-bound controls and SQL
Server 2005 Express with the April 2006
release of Web development projects. For a list of issues and
workarounds, see the whitepaper named "Using
Data-Bound Controls and SQL Server Express with Web Development
Projects," which is available on the
Visual Studio 2005 Web Development Projects page on the ASP.NET
Developer Center.
Issue 2: Visual Basic Inline Code Might Not Be Converted
Correctly
When 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 is
converted and should compile correctly.
http://go.microsoft.com/fwlink/?LinkId=57541http://go.microsoft.com/fwlink/?LinkId=57541
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
35/38
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 element as a
child of the element, as in the following
example:3. 4. 5. 6.
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 development
project, we will see a run-time error similar to the
following:
Server Error in '/' Development
The type specified in the TypeName property of ObjectDataSource
'ObjectDataSource1' could not be found
To resolve the error, we must add the project namespace to the
TypeName property. Assuming wer
project 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:
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
36/38
36
Conclusion:
As web developers, we are constantly trying to address the
problem of inconsistencies between the
renderings 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 by
representatives of the same people who use those browser makers,
web developers, content
providers, and other organizations.
Writing web pages in accordance with the standards shortens site
development time and makes
pages easier to maintain. Debugging and troubleshooting become
easier, because the code follows a
standard. 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 The
Web Standards Project is to make the Web a better place, for
developers and for end-users, by
encouraging 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
insist
that 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 using
standards, and also plenty of ammunition with which you can
encourage your place of business and
fellow developers to use those standards.
http://www.webstandards.org/http://www.webstandards.org/http://www.webstandards.org/learn/faq/#p3http://www.webstandards.org/learn/faq/#p3http://www.webstandards.org/http://www.webstandards.org/
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
37/38
37
Suggestion:
Of all the features requested for the VB.NET, the most common is
inheritance. As weve seen, not only does
VB.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 the
elements 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 expensive
system 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.
-
8/3/2019 Web Development Project at Hindalco Industries Ltd. by
Manohar Prasad
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
http://www.web-source.net/http://www.developmentindia.com/http://msdn.microsoft.com/en-us/library/ms525070%28v=vs.90%29.aspxhttp://www.homeandlearn.co.uk/net/vbnet.htmlhttp://en.wikipedia.org/wiki/Visual_Basic_.NEThttp://www.imagehousing.com/imageupload.php?id=625518http://www.imagehousing.com/imageupload.php?id=625518http://www.imagehousing.com/imageupload.php?id=625518http://en.wikipedia.org/wiki/Visual_Basic_.NEThttp://www.homeandlearn.co.uk/net/vbnet.htmlhttp://msdn.microsoft.com/en-us/library/ms525070%28v=vs.90%29.aspxhttp://www.developmentindia.com/http://www.web-source.net/