Home > Articles > Databases > Access

Adding Data to Web Pages

Paul Kimmel
  • PrintPrint
  • Share ThisShare This
  • DiscussDiscuss
Close WindowPaul Kimmel

Paul Kimmel 

Learn more…

Debugging Client-Side JavaScript for ASP.NET with Visual Studio
Sep 16, 2009
Using Entity SQL As Your Data Access Layer
Dec 2, 2008
Programming with LINQ to XML for Objects
Nov 21, 2008
Bill Wagner on C#, LINQ, and Writing Books
Oct 6, 2008
Writing LINQ Queries with the Entity Framework
Sep 23, 2008
Using Parallel LINQ
Aug 15, 2008
Programming with Anonymous Types in C#
Aug 11, 2008
Querying SQL with LINQ
Jul 28, 2008
Writing Lambda Expressions in the .NET Framework
Jun 11, 2008
Programming with Generic Delegates in .NET
May 8, 2008
Managing Database Transactions with the TransactionScope
Sep 7, 2007
Letting ADO.NET Write Your SQL
Jun 8, 2007
Using C#'s yield to Return an Enumerable Collection
Apr 27, 2007
Using the My Feature in Visual Basic .NET
Sep 8, 2006
Programming with the BackgroundWorker Component in .NET 2.0
Apr 7, 2006
How to Use Partial Classes in Visual Studio 2005
Jan 13, 2006
Generic Classes in C# 2.0
Nov 11, 2005
Anonymous Methods in C# 2.0
Oct 28, 2005
Implementing an XML Section Handler in .NET
Sep 16, 2005
.NET Remoting: Handling Remote Server Events
Feb 11, 2005
Converting XML Nodes into Objects
Dec 10, 2004
Using Application Blocks for Data Access
Oct 22, 2004
A Roll of the Dice: Building a Small Game Using Windows Graphics Programming
Oct 1, 2004
Through the Looking Glass: Debugging Hosted .NET Applications
May 13, 2004
Listening to Trace Messages in NUnit
May 7, 2004
Instrumenting Your Code for Exception Management
Dec 23, 2003
What's .NET Remoting, And Why Should You Care?
Dec 12, 2003
Injecting Dynamic JavaScript to Focus ASP.NET Controls
Oct 10, 2003
Defining Add and Remove Accessor Methods for Events in VB.NET
Apr 18, 2003
Debugging .NET with NUnit
Mar 14, 2003
Dynamic Debug Code Management with BooleanSwitches
Feb 28, 2003
Creating Typed DataSets with XML Schemas
Jan 24, 2003
Fall Comdex 2002: .NET or .What?
Jan 10, 2003
Managing Session State for ASP.NET
Nov 15, 2002
Creating Project Templates in .NET
Oct 25, 2002
Creating Custom Attributes in Visual Basic .NET
Oct 11, 2002
Asynchronous Web Services
Sep 20, 2002
Inheritance and Polymorphism in VB.NET
Aug 9, 2002
Serializing Objects to a .NET DataSet
Jul 19, 2002
Implementing the Strongly Typed Collection in C#
Jul 5, 2002
Emitting MSIL with Reflection
Jun 28, 2002
Programming with Regular Expressions in C#
Jun 21, 2002
Creating Data-Enabled Web Pages using the DataList
Mar 8, 2002
Creating Visual Studio .NET Add-Ins
Mar 8, 2002
Lightweight Threading with Thread Pools in Visual Basic .NET
Mar 8, 2002
Understanding Delegates in Visual Basic .NET
Mar 8, 2002
Working with New Abstract Data Types in Visual Basic .NET
Mar 8, 2002
Storing Your Access Data
Feb 8, 2002
Adding Data to Web Pages
May 11, 2001

Sorry, this author hasn't posted any blogs.

If you want to create a corporate intranet or Internet, or if you want to use Web pages in your business solutions, data access pages will help you get the job done quickly and easily. Think of a data access page as a form that your users might be viewing on a Web site or in email. By adding text, graphics, and controls, you can define a rich interface for your end users.
This chapter was selected from Sams Teach Yourself Access 2000 Programming in 24 Hours.

Software tools evolve as frequently as other software. Current emphasis in software tool evolution is on providing capabilities that let you build solutions for the World Wide Web. If you follow any of the e-commerce initial public offerings in the stock market, you have probably noted the meteoric rises in their stock prices. The interest in e-commerce extends from the public's interest in initial offerings of a company to the individual programmer's interest in developing those Web applications. The hottest program topic right now is Web programming. There are Cinderella stories cropping up every day.

Until about 1993, Windows programming was the coolest thing around. A Windows program is a program that runs under Windows, has a graphical user interface (GUI) based on the Windows paradigm, and can be a single-user or multiuser application.

Just recently the momentum has shifted to Web programming. Web programming emphasizes distributed thin-client programs, where the interface is the HTML displayed in the browser. In a Windows program, an application is a compiled or interpreted collection of graphical window interfaces. A Web application contains hyperlinks to Web pages. A Web page is a text document that primarily contains HTML. The database and any other code most likely runs somewhere else on the Web server. Web applications are called thin-client applications because the Web page is a thin veneer that is displayed in a browser. Often, most of the code resides or is run on the server. Web applications are powerful and interesting for a variety of reasons. One of the most commonly mentioned reasons is that developers only have to update the server with new pages to give every end user immediate access to the updated application. Steve Balmer, president of Microsoft, predicts that, in the near future, all applications will emulate thin-client Web applications.

Microsoft Access 2000 supports thin-client Web development via data access pages. Data access pages are Web pages that you can use to add, edit, and view data on the Internet or an intranet, or that you can send by email. Data access pages are developed in a similar way to Access Forms, so you can leverage some of the skills that you already have. The underlying code is HTML that can be generated by wizards and edited in Access 2000. In this hour, you will learn:

  • The difference between the Internet and an intranet

  • How to create data access pages using wizards

  • How to use themes to enhance the appearance of your data access pages

  • How to customize data access pages with Access 2000

Comparing Intranets to Internets

The Internet is a network of computers. Computers participate in the Internet by being connected to an online Internet service provider (ISP) and having an Internet Protocol (IP) address, a number comprised of four sets of numbers connected by periods. For example, my company's IP address is 198.109.162.177. An intranet is a private version of an Internet. Essentially, an intranet is a network of addressable computers that can be accessed by a limited group of users.

NOTE

Hypertext is text that contains embedded codes that are used as instructions to a hypertext reader. Web browsers, such as Internet Explorer and Netscape Navigator, are hypertext readers.

A medium for users on an intranet and the Internet is the Web browser. The main language that makes Web data available is the Hypertext Markup Language (HTML). HTML is a generic hypertext language that contains embedded text codes that act as instructions to a hypertext reader. Internet Explorer and Netscape Navigator both read and interpret hypertext. Microsoft's Word and Outlook programs are also capable of interpreting hypertext.

Hypertext is more useful than plain text because you can embed commands that will make the text capable of displaying rich fonts, graphics, sound, video, data, and many other kinds of information.

Installing and Running Personal Web Server

You can set up a basic intranet by installing the Personal Web Server (PWS). The Personal Web Server will enable you to share information with other users if you are connected to a LAN of the Internet. Although the Personal Web Server does not contain as many features as the Internet Information Server (IIS), it is capable of running an Internet and intranet site, and it makes a good test environment.

NOTE

Software Conceptions used Personal Web Server for its Web site in 1995, and I recently used it to establish an intranet for a team of developers supporting two NASD Broker Dealers. The company was a medium-sized insurance company in Michigan. Having our own intranet site made it easier to share information related to the development projects being worked on and information that supported our users.

The intranet was successful enough that the end users began requesting that it be made available within 60 days of its installation.

To install Microsoft Personal Web Server in Windows 98 follow these steps:

  1. Insert your Windows 98 CD into the CD-ROM drive.

  2. Click Start, Run.

  3. In the Open field, enter drive:\add-ons\pws\setup.exe, where drive is the drive letter of your CD-ROM.

  4. Click OK.

  5. Follow the instructions in the Personal Web Server Setup Wizard.

After you have Personal Web Server installed, you can start the service through the Personal Web Manager. To start the Personal Web Manager, click Start, Programs, Microsoft Personal Web Server, Personal Web Manager (shown in Figure 1). To start Personal Web Server (from the Web Manager), click Properties, Start Service.

Figure 1 The Personal Web Manager enables you to manage the Personal Web Server, which you can use to run an Internet or intranet Web site.

By saving the data access pages to the root directory of your personal Web site, you can test the pages and make them available to users of your site. As I already mentioned, the Personal Web Server also makes a good testing environment.

Establishing a Web Site

Personal Web Server is a good choice for an intranet or a small business, or an excellent test platform for developers. To build a Web site, you need to define a home page and add hyperlinks to any other pages containing data you want to make available to your users, including data access pages.

NOTE

If you have serious security considerations or plan to participate in e-commerce on a large scale, you will need a commercial-quality platform, such as Windows NT or Internet Information Server.

  • Share ThisShare This
  • Your Account

Discussions

Make a New Comment

You must log in in order to post a comment.

Related Resources

There are currently no related podcasts. Please check back later.

Buck WoodyDealing with Data Defining the Components to Tune
By Buck Woody on 0:00 No Comments

I've been reading a fascinating article about the Large Hadron Collider, or LHC facility. It's a scientific research facility that houses a particle collider, which generates an incredible amount of data. Their original plan was to stream the data to tape, then sending the data to "islands" closer to the users, offloading the network as quickly as possible. But they found that the network could handle the streaming better than they thought - so they now stream the data directly to the users, saturating the network. It's a new way of thinking about moving the data around.

Buck WoodyWork Swarms
By Buck Woody on August 24, 2010 No Comments

I’ve been reading some excerpts from Gartner, Inc. and information from others on the changes they are seeing in the workplace. It’s holding true where I work and in the workplaces of the other data professionals I work with. One of those new trends is called “Swarming” – where informal teams get together to work on a particular project, and in some cases a single task, as a group. They then move on to another task, and so on, like a swarm of bees. These are less formal than the “Tiger Teams” I used to be part of that were also temporary, but had a more formal banding and dis-banding. The Gartner article states that this is more often the norm in companies than not.

Buck WoodyA combination of crowdsourcing, people helping people, and the best technical community there is
By Buck Woody on August 19, 2010 No Comments

I talk a lot about “giving back”. It’s a personal issue with me – I grew up quite poor, and from time to time someone would take notice that my mom and I didn’t have enough to eat, and they would help us out. I’ve never forgotten those folks.

See All Related Blogs

There are currently no related titles. Please check back later.

Informit Network