Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

Displaying Information with JScript .NET

Programs typically display information to a user. The most basic method is to display a text string. A JScript program may display information through different procedures depending on the use of the program. There are three common ways to use JScript: in an ASP.NET page, in a client-side Web page, and from the command line. Some methods for displaying from each environment are discussed here.

In This Section

Displaying from a Command-Line Program
Explains how to use the JScript print statement or the .NET Framework System.Windows.Forms.MessageBox.Show method to display data from a command-line program.
Displaying from ASP.NET
Demonstrates how to use the <%= %> construct to display data from an ASP.NET program.
Displaying Information in the Browser
Explains how to use the write or writeln methods to display data directly in a browser.
Using Message Boxes
Describes how to use the alert, confirm, and prompt methods of the window object to create prompt message boxes, which typically solicit input from users.

Related Sections

JScript Reference
Lists elements that comprise the JScript Language Reference and provides an example of the correct syntax for each element.
MessageBox.Show Method
Illustrates the syntax of the MessageBox.Show method and the options that return various results.