Preparing for the Sample Application[3]

[入库:2006年2月23日] [更新:2007年3月24日]

本文简介:

(it's all printed in the book梩here's no
"hidden" code), but you may want to copy and paste it into your project,
instead. Although we find that we learn a great deal by actually typing the
code, we've provided all the code in files named Code.txt, within the
folder Jumpstart-SampleCode. You can locate the file named Code.txt in the
subfolder listed in the SampleCode column of Table 1.1. Load the file into
any text editor and then copy/paste the appropriate chunk of text into your
project.

Flow layout versus grid layout. Although Visual Studio .NET supports two
ways to lay out pages (you control which you want by setting the page's
pageLayout property), we suggest that, for the most part, you use the
flowLayout setting. Selecting the gridLayout setting makes page designing
experience "feel" more like designing in Visual Basic 6, but the rigidity
of the exact placement of controls doesn't work quite as well in a Web
page. You're welcome to choose whichever layout you like, but for the
examples we've created, we always set the pageLayout property to flowLayout.

Adding controls using flow layout. When working in flow layout, you may
find it tricky to insert controls "in front of" other controls梩hat is, to
insert a control earlier on the page than an existing control. The trick is
to click the existing control and then press the left-arrow key to move the
insertion point to the left of the control. Double-click the control you'd
like to add, and Visual Studio .NET will place it immediately before the
existing control.

Setting up debugging. You'll want to be able to debug your ASP.NET
applications, and Visual Studio .NET makes this easy. If you installed VS
.NET under any other user ID than the one you use to log in to your
computer, you will need to make sure your user ID is a member of the
Debugger users group. This won't be a problem if you run under the same ID
you used when installing. Also, if you have a problem debugging, make sure
you've edited the project properties. Also, on the Configuration
Properties, Debugging page, ensure that the ASP.NET Debugging option is
selected.

Table 1.1. Find Sample Code and Finished Projects Using the Folders Listed
in This Table Chapter  Finished Project Folders Under \Jumpstart-Completed 
Code.txt Files in Folders Under \Jumpstart-SampleCode 
Chapter 1: Getting Started with the Sample Application     
Chapter 2: Introduction to Microsoft .NET     
Chapter 3: Introduction to Visual Studio .NET     
Chapter 4: Overview of .NET Framework Classes     
Chapter 5: Introduction to Internet Programming  InternetBasics   
Chapter 6: Introduction to ASP.NET  ASPIntro  ASPIntro 
Chapter 7: Working with ASP.NET and VB .NET  VBLanguage  VBLanguage 
Chapter 8: Validation Controls  ValidationControls  ValidationControls 
Chapter 9: Debugging in Visual Studio .NET     
Chapter 10: Introduction to ADO.NET     
Chapter 11: Data Binding on Web Forms  DataBinding  DataBinding 
Chapter 12: Error Handling     
Chapter 13: ADO.NET Connection and Command Objects  ConnectionCommands 
ConnectionCommands 
Chapter 14: Working with Data  WorkingWithData  WorkingWithData 
Chapter 15: Using Stored Procedures with ADO.NET  StoredProcs   
Chapter 16: Using the DataGrid Control  DataGrid  DataGrid 
Chapter 17: Editing Data Using the DataGrid Control  DataGridEditing 
DataGridEditing 
Chapter 18: Using the Repeater Control  Repeater  Repeater 
Chapter 19: Using the DataList Control  DataList  DataList 
Chapter 20: Using Crystal Reports  CrystalReports  CrystalReports 
Chapter 21: Creating User Controls  CreatingControls  CreatingControls 
Chapter 22: Rich ASP.NET Controls     
Chapter 23: State Management in ASP.NET     
Chapter 24: Introduction to Web Security  Security  Security 
Chapter 25: Creating Mobile Web Applications    Mobile 
Chapter 26: Development and Deployment Techniques     
Chapter 27: Introduction to XML  XMLIntro  XMLIntro 
Chapter 28: Introduction to XML Web Services     
Chapter 29: Creating and Consuming XML Web Services    WebService 
Chapter 30

本文关键:Preparing for the Sample Application
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top