Microsoft ASP .NET Professional Projects - Premier Press
.pdfChapter 18: Creating a Generic Database Web Service
Figure 18.1: Interacting with the web service.
Chapter 19: Designing a Navigation System
Figure 19.1: Navigation links.
Chapter 23: The Design of the Inventory Management System
Figure 23.1: The database schema for the Inventory Management System.
Chapter 24: Inventory Masters
Figure 24.1: The Inventory Masters web form.
Figure 24.2: The Inventory Masters web form in the Add mode. Figure 24.3: The Inventory Masters web form in the Edit mode.
Chapter 25: Inventory Movements
Figure 25.1: The Inventory Transactions form.
Figure 25.2: The Inventory Transactions form in Add mode.
Figure 25.3: The Inventory Transactions form in Edit mode.
Chapter 26: The Inventory Balances Report
Figure 26.1: The inventory balances report.
Chapter 27: Using the GenEditAdd Control
Figure 27.1: Masters.aspx with edit, add, and delete links.
Figure 27.2: GenEditAdd in the Edit mode allows modification of records. Figure 27.3: The Add mode of GenEditAdd allows insertion of new records.
Chapter 29: Displaying Database Data Using a StronglyTyped DataSet
Figure 29.1: Creating a new ASP.NET Web Application. Figure 29.2: VS will create a Virtual Directory in IIS. Figure 29.3: The blank project created by VS.
Figure 29.4: The Project Properties.
Figure 29.5: The Data section of the toolbox. Figure 29.6: The DataLink properties pane. Figure 29.7: The Choose a query window.
Figure 29.8: Typing in a SQL query in the Generate the SQL Statement window. Figure 29.9: The Query builder allows you to graphically build queries.
Figure 29.10: The SqlDataAdapter and SqlConnection created in VS.
Figure 29.11: The Server Explorer allows you to explore and manipulate database objects.
Figure 29.12: The Properties page for the SqlConnection. Figure 29.13: TheProperty Page for the SqlDataAdapter. Figure 29.14: The Generate DataSet dialog box.
Figure 29.15: An instance of the DataSet is created. by VS. Figure 29.16: The final output.
Chapter 30: Writing CRUD Applications with Visual Studio.NET
Figure 30.1: Setting the BackGround color of the web form. Figure 30.2: The stock_detail table in the Server Explorer.
Figure 30.3. The SqlConnection and SqlDataAdapter generated by Visual Studio. Figure 30.4: Generating the DataSet.
Figure 30.5: Setting the Properties of the DataGrid. Figure 30.6: Selecting the columns of the DataGrid. Figure 30.7: Selecting the Edit,Update,Cancel buttons.
Figure 30.8: Setting the AutoGenerateColumn attribute to False. Figure 30.9: The Stock Master form displaying data.
Chapter 31: Creating a Web Service Using Visual Studio.NET
Figure 31.1: Creating a new C# ASP.NET web service. Figure 31.2: The test page for the web service.
Figure 31.3: The Populate method returns database rows as XML. Figure 31.4: Creating a new C# ASP.NET Web Application.
Figure 31.5: The two projects displayed in the Solution Explorer. Figure 31.6: Design of the client web form.
Figure 31.7: Web service discovery.
Figure 31.8: Reference to web service in the Solutions Explorer.
Figure 31.9: Selection of a SELECT query displays the results in a DataGrid. Figure 31.10: The Test RunSql button inserts a random number in the table.
Appendix A: Installing the Sample Database
Figure A.1: create.sql is shown loaded in the isql utility. Figure A.2: The database schema for Financial Accounting.
Figure A.3: The database schema for the Inventory Management System.
List of Tables
Chapter 14: The Design of the Personal Finance Manager
Table 14.1: Relationship between Types and Groups Table 14.2: The Groups Table Definition
Table 14.3: The Predefined Groups Table 14.4: The Masters Table Table 14.5: The tr_header Table Table 14.6: The Transactions Table Table 14.7: The tblSelection Table
Chapter 16: Transactions
Table 16.1: Rules for Deposits and Withdrawals
Table 16.2: Closing Balance Calculations
Chapter 23: The Design of the Inventory Management System
Table 23.1: The stock_master Table Table 23.2: The tr_header Table Table 23.3: The stock_detail Table
Chapter 25: Inventory Movements
Table 25.1: Closing Balance Calculations
Chapter 27: Using the GenEditAdd Control
Table 27.1: GenEditAdd Quick Reference
Chapter 28: Extending the GenEditAdd Control
Table 28.1: The Four Drop-Down List Sub-properties
List of Examples
Chapter 2: Introducing ASP.NET Web Forms and Controls
State.asp
State.aspx
Events.aspx events_cb.aspx Events_cb.vb htmlControls.aspx Web_intrinsic.aspx panel.aspx adrotator.aspx Calendar.aspx
Chapter 3: Using ADO.NET in the .NET Framework
MastersGrid.aspx OpenExplicit.aspx ActionQueries.aspx p_authors
Parameters.aspx
Execute.aspx
DataView.aspx
Collection.aspx
DataReader.aspx
DataRelation.aspx
Chapter 4: Data Binding
DataBind.aspx
Repeater.aspx
Masters1.aspx Masters1.vb Masters2.aspx Masters2.vb PagingSorting.aspx PagingSorting.vb GroupsDlist.aspx GroupsDlist.vb navXML.aspx MasterChild.aspx MasterChild. vb
Chapter 5: Input Validation
validate.aspx
Chapter 6: User Controls
simpleUC1.aspx simpleUC2.aspx simpleUC2.ascx nav.XML Navigation.aspx nav.ascx
Chapter 7: Custom Controls
hello.vb makeVb.bat hellovb.aspx helloC.cs makec.bat HelloC.aspx
The Config_Masters.aspx form Step1.aspx
Step2.aspx GenTestStep3.aspx Step3.vb GenEditAdd.vb Masters.aspx
Chapter 8: Business Objects
BasicObj.aspx
BasicObjC.cs BasicObjC.aspx SQLClass.vb TestVbClass.aspx SQLClassC.cs SQLClassC.bat TestcClass.aspx
Chapter 9: Working with ASP.NET Web Services
BasicService.asmx
WSDL extract for HTTP Get basicHTTPGet.html
WSDL extract for HTTP Post basicHTTPPost.html
mbasicService.bat basicSoap.aspx Behavior.asmx Populate.html AddFunction.html
Chapter 10: ASP.NET Applications
Global.asax GlobalTest.aspx Global.asax ApplicationState.aspx Session.aspx AppSettingVb.aspx AppSettingC.aspx
web.config for Custom Errors HandleError.aspx ErrorTest.aspx
handler.vb make.bat
Chapter 11: Caching
MastersGrid.aspx querystring.aspx nav.xml nav.ascx Navigation.aspx
Chapter 12: Tracing
Visual Basic.NET C# Trace_page.aspx
Chapter 13: Security
web.config encrypt.aspx Login.aspx default.aspx
login.aspx (database version)
Chapter 15: Chart of Accounts
Stored Procedure p_masters Grid1_Update
Insert Logic Is the Form The add_click Sub
Sub Grid1_delete Sub RunSql
Masters3.aspx Masters3.vb (Code Behind)
Chapter 16: Transactions
Stored Procedure p_trans insert_mstr
update_mstr delete_mstr Selection.aspx
Transactions.aspx Page_Load Event Sub UpdateSelection
Sub ReBind Sub add_show Sub add_click
Sub Grid1_Update The Delete Sub transactions.aspx
Transactions.vb (Code Behind)
Chapter 27: Using the GenEditAdd Control
config_master.aspx
The GenEditAdd hyperlinks in masters.aspx
Extract from Masters.aspx hooking a DataGrid to GenEditAdd
Chapter 28: Extending the GenEditAdd Control
DropDown_explain.aspx
Drop-down List Columns in the Update Mode of GenEditadd
GenEditAdd.vb
Chapter 30: Writing CRUD Applications with Visual Studio.NET
The Bind Method Grid1_Edit Grid1_Cancel Grid1_Delet e Grid1_Update RunSql Add_Click SaveNew_Click
Chapter 31: Creating a Web Service Using Visual Studio.NET
dbService.asmx WebForm1.aspx.cs