Last Name / First Name / Dept / Job / Salary /"> Last Name / First Name / Dept / Job / Salary /">
Download presentation
Presentation is loading. Please wait.
Published byEthel Flowers Modified over 9 years ago
1
XML with ASP using ASP:DataList Please use speaker notes for additional information!
2
Stephen Daniels Sports Reporter 50000 Al Richards Engineering Consultant 95000 Jennifer Ames Foreign Consultant 55000 Sarah Grant Scientific Web 50000 Carl Hersey Foreign Consultant 60000
3
sub Page_Load if Not Page.IsPostBack then dim payrollData=New DataSet payrollData.ReadXml(MapPath("payroll.xml")) payrollSet.DataSource=payrollData payrollSet.DataBind() end if end sub Employee List <asp:DataList id="payrollSet" gridlines="both" runat="server"> Last Name / First Name / Dept / Job / Salary /
4
sub Page_Load if Not Page.IsPostBack then dim payrollData=New DataSet payrollData.ReadXml(MapPath("payroll.xml")) payrollSet.DataSource=payrollData payrollSet.DataBind() end if end sub Employee List <asp:DataList id="payrollSet" gridlines="both" runat="server"> Employees, has a Job of: in Dept: with a Salary of:
5
sub Page_Load if Not Page.IsPostBack then dim payrollData=New DataSet payrollData.ReadXml(MapPath("payroll.xml")) payrollSet.DataSource=payrollData payrollSet.DataBind() end if end sub Employee List <asp:DataList id="payrollSet" gridlines="both" runat="server"> Last Name First Name Dept Job Salary
6
sub Page_Load if Not Page.IsPostBack then dim optionData=New DataSet optionData.ReadXml(MapPath("bccopt.xml")) optionSet.DataSource=optionData optionSet.DataBind() end if end sub Option List <asp:DataList id="optionSet" gridlines="both" runat="server"> Name Advisor
7
Programming Grocer Webmaster Grocer Networking Arruda Business Information Grocer Multimedia/Internet Vieira Computer Science Ferreira Information Systems Grocer Accounting Garand
8
Marketing Management Leonard Retail Management Dickens Business Administration Leonard
9
Computer Information Systems Career Programming Grocer Webmaster Grocer Networking Arruda Business Information Grocer Multimedia/Internet Vieira Transfer
10
Computer Science Ferreira Information Systems Grocer Business Career Accounting Garand Marketing Management Leonard Retail Management Dickens Transfer Business Administration Leonard
11
sub Page_Load if Not Page.IsPostBack then dim optionData=New DataSet optionData.ReadXml(MapPath("bccoptions.xml")) optionSet.DataSource=optionData.Tables("option") optionSet.DataBind() end if end sub Option List <asp:DataList id="optionSet" gridlines="both" runat="server"> Name Advisor
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.