Skip to Content
Programming PERL in the .NET Environment
book

Programming PERL in the .NET Environment

by Yevgeny Menaker, Michael Saltzman, Robert J. Oberg
September 2002
Intermediate to advanced content levelIntermediate to advanced
496 pages
10h
English
Addison-Wesley Professional
Content preview from Programming PERL in the .NET Environment

Stock Query

To demonstrate additional techniques of data binding we present the Stock\Stock.aspx page for showing the read-only query of items in stock. We use the Stock component from the previous chapter. This component implements the IStock interface and works against the Stock table in our database. We reference the relevant assemblies in the Stock.aspx file:

<%@ Assembly Name="StockItem" %>
<%@ Assembly Name="IStock" %>
<%@ Assembly Name="Stock" %>

Please refer to the readme.txt file in the Stock sample folder for the instructions on building the assemblies. Figure 16-15 shows the results of running the stock query.

Figure 16-15. Stock query.

To run this sample you should create a Web application for the Stock folder.

We modified the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Sams Teach Yourself Perl in 21 Days, Second Edition

Sams Teach Yourself Perl in 21 Days, Second Edition

Laura Lemay, Rafe Colburn
Pro Perl

Pro Perl

Peter Wainwright

Publisher Resources

ISBN: 0130652067Purchase book