Preparing for the Sample Application

新唐MS51FB9AE开发环境搭建 一、准备工作: 1、编译工具keil c51; 2、Nu-Link_Keil_Driver; 3、NuMicroICPProgrammingTool ; 4、MS51FB9AE提供的板级支持包(BSP); 二、开发环境搭建 <一>安装keil c51(以KEIL C51V953为例); 1.双击c51v953.exe 安装目录也可以自己选择,建议用默认。如果安装过其它版的keil建议不要放到同一目录。 名称这些随意输入即可. Add e... 阅读详情
Preparing for the Sample Application
The sample application is built using Microsoft SQL Server's Northwind
sample database. If you do not have Microsoft SQL Server available, you can
use the Access/Jet version of the same database, Northwind.mdb file
supplied with the sample files for this book.

TIP

If you're going to use the Northwind database, you'll need to change the
connection string in DataHandler.vb to point to the Northwind.mdb file
supplied with the examples. You can find the connection string in the
DataHandler.vb file in the completed Northwind sample project. You will be
unable to run the examples that involve stored procedures, because
Microsoft Access (and the Jet database engine) doesn't support stored
procedures.



Installing the Examples
We have supplied a Microsoft Installer 2.0 (MSI) file that will create all
the sample applications for this book on your machine. Before you can
install the examples, the following items must be installed on your
computer:

Operating system. You must be running Windows NT Workstation or Server,
Windows 2000 Professional or Server, Windows XP Professional, or Windows
.NET Server. If you have any other OS, you may not be able to run Visual
Studio .NET. Check with Microsoft to see if your operating system will run
Visual Studio .NET. Some operating systems (such as Windows NT) require
additional service packs in order for Visual Studio to run.

Visual Studio .NET. Every example in this book requires you to have Visual
Studio .NET 2002 installed on your computer.

Internet Information Server. IIS is an optional component in non-server
operating systems (such as Windows XP Professional, Windows 2000
Professional, and so on). Use the Control Panel's Add or Remove Programs
option to install IIS.

SQL Server. Although this database system is highly recommended, you can
also use the supplied Access MDB file.

If you have all the installation criteria, you should be able to run all
the examples for this book. To install the sample files, follow these steps:

Go to http://www.pdsa.com/ASPNETJumpstart. You can download the sample
files (and any updates) from this Web site.

Download ASPNETJumpstart.MSI to a location on your local hard drive.

Execute the MSI file by double-clicking it in Windows Explorer.

Follow the prompts presented by Windows Installer, as it installs the
examples.

Once you're done installing the examples, you'll find a new folder tree,
starting with <d>:/ASP.NET Jumpstart. Under this folder, you will find
other folders that are described in the next section.

Before You Get Started
Before you get going, it's important to review some issues that will affect
you as you follow the examples and create your own Web pages throughout the
book. We'd like to take this opportunity to mention some important general
instructions that apply to all the following chapters. Not all these issues
will seem relevant as you're getting ready to start working through the
chapters, but you may want to refer back to this section later on梞ake sure
you at least skim through this list before proceeding so you know what's
covered here:

Folder structure. We've supplied three directory "trees": Jumpstart,
Jumpstart-Completed, and Jumpstart-SampleCode. The Jumpstart folder
contains completed projects, ready for you to run (for example, the
Debugger, ErrorHandling, FrameworkClasses, and VBLanguage folders). These
projects exist outside the main Northwind example and show off particular
features that didn't fit into the main project. This folder also includes
the Northwind-Completed subfolder, which contains the finished sample
project you'll create as you work through this book. You'll also create
your Northwind sample project in this folder, as well as other projects
throughout the book. The Jumpstart-Completed folder contains a series of
subfolders, one corresponding to each chapter in the book in which you
modify the Northwind sample project. Each subfolder contains a full copy of
the Northwind sample project, up to the point of completion at the end of
the corresponding chapter. See the "Typing code" bulleted point for more
information about the third directory tree.

Building the sample project. Our intent, when writing this book, was that
you would work through the chapters in order, building the sample
application as you go. (Some chapters load other projects or have you
create projects not directly related to the Northwind sample project, but
the majority of the chapters focus on creating this one example.) When you
start building the example, you'll create a virtual root named Northwind,
and you'll add pages to this root as you work through the book. In some
chapters, you will build the sample pages yourself; in others, you will
bring in a completed page or a partially completed page and finish it by
following the steps in the book.

Using the finished versions of projects. If you want to skip ahead to a
particular chapter, you can find the appropriate subfolder for the chapter
right before the one you're skipping to in the Jumpstart-Completed tree.
Copy the contents of the folder to your Northwind folder (the location
where you placed the Northwind virtual root) and continue from that point,
as if you had worked through all the chapters up to that point. At any
time, you can wipe out the contents of the Northwind folder (if you're
going to do this, make sure and delete all the files and folders, as well);
then add in the contents of any of the subfolders in the
Jumpstart-Completed tree. Table 1.1 lists the chapters for which we've
supplied finished versions of the Northwind sample project. (The
Jumpstart-Completed/Northwind folder contains all the sample pages,
including all the code.) If you work through the book in order, you won't
need to worry with any of these details.

TIP

If, for example, you had completed up to Chapter 8, (ValidationControls)
and you now wanted to skip ahead to Chapter 15 (StoredProcedures), you
would need to find the most recent previous chapter that provides a full
copy of the sample project (in this case, Chapter 14: WorkingWithData) and
copy the contents from the Jumpstart-Completed/ WorkingWithData folder into
your working project's folder. You could then continue with Chapter 15 as
if you had worked through all the chapters up to that point.



Loading the projects. To load the sample projects, look for *.sln in the
folder associated with each of the chapters. A Visual Studio .NET solution
can contain multiple projects, and the SLN file contains information about
each of the individual project files (*.vbproj) included in the solution.
You can double-click an SLN file to load the solution into Visual Studio
.NET. If, for some reason, you can't find an SLN file, you can also
double-click the project's VBPROJ file to load the single project into
Visual Studio .NET.

Handling virtual roots. Each SLN file contains information about the
virtual roots where it can find each of the VBPROJ files it needs to load.
Normally, if you use the Microsoft Installer (MSI) file we've supplied to
install the examples, the virtual roots you need will already be created
for you. If there's a problem finding a virtual root, Visual Studio .NET
won't be able to load your project. You can always open the SLN file for
your solution within a text editor (such as Notepad) and view or edit the
virtual root the solution requires.

TIP

The virtual root information is also embedded in the *.vbproj.webinfo file
associated with a project. The information in this file is transient and
will be re-created for you when you restart Visual Studio .NET. If you find
that you're having trouble loading a project, and you need to re-create or
modify virtual roots, you can always delete this file so that you only need
to worry about the one file that contains path information: the *.sln file.



Adding existing pages. Some chapters require you to add existing pages to
your sample project. In each case, instructions in the chapter will direct
you to a particular folder within the Jumpstart directory tree. You'll be
asked to copy files from the specific folder (using Windows Explorer) and
then to paste the files into your project, within Visual Studio .NET. When
you do this, Visual Studio .NET will place a copy of each file into the
folder containing your project梱ou needn't worry about modifications you
make affecting the originals, which remain intact.

Using existing projects. When you load an existing project and then press
F5 to begin running the project, Visual Studio .NET must know what the
start page is for your project. If you receive an error message from Visual
Studio .NET as you begin running your project, you can right-click the
start page in the Solution Explorer window and then select Set as Start
Page from the context menu. For most chapters, the start page will be
Main.aspx. Some of the chapters may use a different start page, but those
instances are called out appropriately in the text.

Typing code. Some chapters contain a significant amount of code. You may
want to type all the code yourself (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: Investigating Web Service Consumers    WebServiceAsync 
Chapter 31: Securing Web Services    WebServiceSecurity 


SETTING UP FOLDERS CORRECTLY
When you are working on Web projects on your local machine, it is NOT a
good idea to create all your folders underneath the /inetpub/wwwroot
folder. This folder can become cluttered over time. In addition, in most
medium-to-large Web applications you create, you will most likely not
create the whole application under just one virtual root. We suggest that
you create your own virtual root, somewhere outside of the /inetpub/wwwroot
folder, and store your application in this new location.

If you've created a new virtual root named MyASPApps, for example, you can
browse to this root as http://localhost/MyASPApps. From within Visual
Studio .NET, you can create new projects under that same root by specifying
the root when prompted for a project location.

To have Visual Studio .NET select your folder as its default project
location, follow these steps:

Load Visual Studio .NET.

Select the Tools, Options menu item.

Select Environment, Projects and Solutions.

Change the Visual Studio Projects Location setting to the same folder where
you created the virtual root.

Select Projects, Web Settings.

Change the location of the Web project cache to a folder you can find
easily (for example, D:/MyASPApps/VSWebCache). This folder will become
cluttered, and you want to put it somewhere you Scan find it and
periodically clean it out.



TIP

Although we've covered a lot of material in this book, there's a lot more
depth and breadth of material available. We suggest you start by visiting
Microsoft's .NET site, http://www.gotdotnet.com. Also, make sure you
investigate the Quickstart examples that ship as part of the .NET
Framework. Look in the documentation for more information.

Unity调用Android原生ExoPlayer实现高性能视频播放方案 在移动应用开发中,视频播放是常见的功能需求,其核心在于解码效率与渲染性能的平衡。传统方案往往受限于平台内置播放器的兼容性与性能瓶颈,特别是在处理高清编码格式(如HEVC/H.265)和复杂流媒体协议时。通过跨平台渲染技术,开发者可以突破这些限制,实现更优的播放体验。其原理是利用图形API的纹理共享机制,将原生解码器的输出直接映射到应用层的渲染表面,从而避免数据拷贝带来的性能损耗。这种技术方案在工程实践中具有重要价值,能够显著提升视频播放的流畅度、降低功耗,并增强对现代编码格式的支持。在Unity与Andro 阅读详情

相关推荐

GitLab CE Docker Compose 部署实战:从零构建稳定自托管平台

GitLab CE 是企业级开源代码治理平台,其核心价值在于细粒度 RBAC 权限控制、分支保护、CI/CD 原生集成与审计合规能力。部署本质是协调 PostgreSQL、Redis、Gitaly 等多服务的依赖拓扑与资源契约,而非简单运行容器。Docker Compose 提供声明式编排、健康检查驱动的启动顺序、内网 DNS 可靠寻址及配置即代码能力,显著提升环境可复现性与运维可控性。本文聚焦中小团队真实落地场景,详解 /srv/gitlab 目录规范、GITLAB_OMNIBUS_CONFIG Ruby

weixin_30920853的博客 419

芯嵌STM32入门教程之五《如何安装RealView MDK软件》

芯嵌STM32入门教程之五《如何安装RealView MDK软件》

机器学习数据准备的七阶段驯化逻辑:从混沌到可计算

数据准备是机器学习项目中耗时60%–80%的核心工程,远不止清洗与标准化——它本质是让原始业务信息具备被模型稳定读取、无歧义解释的数学可计算性。其原理在于通过语义对齐、分布校准、归因分析等系统性步骤,消除人与机器对同一字段的理解偏差。技术价值体现在筑牢模型地基:跳过缺失值归因会导致模型忽视异常场景,绕开特征分布对齐将使距离算法失效,忽略标签一致性则让分类器陷入文字游戏。典型应用场景覆盖电商用户行为建模、金融反欺诈、工业设备预测性维护等真实交付项目。本文聚焦data preparation与machine l

congxian2511的博客 473

sampledatabase.zip

Mysql测试数据集

VB保存工程后弹出的add this project to sourcesafe问题处理

sourcesafe就是指VSS(Visual Source Safe)。这是一个Visual Studio自带的项目管理软件,可以安全的保存你的源代码。       其实我很少用它。把它关闭了。       关闭的方法如下:       菜单的Add-In -> Add-In Manager    把里面加载的“Source Code Control

Henry.Ma 7297

Designing Applications for High Performance - Part II

http://blogs.technet.com/b/winserverperformance/archive/2008/05/21/designing-applications-for-high-performance-part-ii.aspx 20 May 2008 9:48 PM ...

weixin_30852367的博客 160

Python校园外卖系统开发:Django框架与智能配送实践

外卖系统作为O2O领域的典型应用,其核心在于通过技术手段连接用户、商家与配送资源。基于Python的Django框架因其自带ORM和Admin系统,能快速构建包含复杂状态流转的业务系统,开发效率较传统方案提升40%以上。在校园特殊场景中,通过PostgreSQL的GIS扩展实现路径优化算法,结合GeoDjango库处理空间数据,使配送效率提升35%。系统采用三层架构设计,前端使用Vue.js实现响应式布局,后端通过Django REST Framework构建API接口,数据层利用PostGIS存储地理信息

weixin_33866037的博客 350

正点原子stm32f103zet6 运行zephyr的led blink例程

本文介绍了在Zephyr RTOS下为正点原子STM32F103ZET6开发板实现串口打印和LED闪烁的方法。要点包括: 确认waveshare_open103z开发板默认USART1(PA9/PA10)已配置为控制台输出 通过设备树overlay添加PB5 LED节点并设置别名led0 配置prj.conf启用串口、GPIO和控制台功能 编译运行blinky示例即可同时实现LED闪烁和串口打印 该方案无需修改默认串口配置,仅需添加LED节点即可实现基本功能演示。编译生成的hex文件可通过JLINK或CMS

qq_41852100的博客 196

26年英语6级翻译预测

▲论据3:香港科技大学(广州)的“产教融合”办学模式,是国内高校的成熟参考样本:学校紧密对接粤港澳大湾区的产业发展需求,与行业头部企业共建联合实验室、实践教学基地,共同开发课程体系,让企业的实际项目、产业的前沿技术直接融入学校的实践教学体系。▲论据3:教育部等七部门2025年印发的《关于加强中小学科技教育的意见》中,明确提出要“推动‘做中学’‘用中学’‘创中学’深度融合,提升学生的实践能力,同时注重人文素养的培育”,为高校平衡通识教育与职业技能培养,提供了落地的方向指引。这一结论在行业内得到广泛认可。

liurui202344的博客 470

SpringBoot3实现SQL可视化调试与语法高亮

SQL调试是数据库应用开发中的关键环节,传统方式需要开发者手动拼接日志中的参数与语句,既低效又容易出错。通过日志框架拦截和参数绑定技术,现代ORM工具可以实现SQL语句的自动重构与可视化展示。SpringBoot3引入的StatementHandlingInterceptor机制,结合ANSI色彩编码,不仅能输出完整可执行的SQL,还能实现语法元素的高亮显示。这种技术显著提升了开发效率,特别适合在MyBatis、JPA等ORM框架调试场景中使用。实际测试表明,采用SQL可视化方案后,复杂查询的调试时间可缩短

weixin_33739646的博客 343

Python A2A实战:基于Google A2A协议构建邮件智能体与自动化工作流

如果你正在构建多智能体系统,或者想让不同的 AI 代理能够像人类团队一样协作,那么 Google 的 Agent-to-Agent (A2A) 协议是你必须了解的技术。它定义了智能体之间标准化的通信格式,是构建可互操作、可扩展的 AI 生态系统的基石。而 Python A2A 库,正是将这一协议从理论变为现实的关键工具。 Python A2A 是一个由 Manoj Desai 维护的开源项目,它完整实现了 Google 的 A2A 协议,并深度集成了 Model Context Protocol (MCP)

ciqiaofu0192的博客 339

基于DGX Spark理念的AI开发实战:从模型微调到API服务部署

在人工智能技术快速发展的背景下,大语言模型(LLM)已成为推动行业创新的核心驱动力。其原理基于Transformer架构,通过海量数据预训练获得强大的语言理解和生成能力。为了将通用大模型适配到特定业务场景,参数高效微调(PEFT)技术,尤其是LoRA(Low-Rank Adaptation),通过仅训练少量新增参数,显著降低了微调所需的计算和存储成本,提升了技术落地的可行性。这种高效微调方法,结合现代化的工程实践,使得企业能够快速构建私有化、定制化的AI服务。本文以DeepSeek模型为例,详细展示了如何运

weixin_30298497的博客 327

如何引入一个example到eclipse

<br />1. 从一个example引入eclipse,选择File-->Import-->选择Existing Projects into Workspace即可<br />2.有时候在运行的时候出现一些Could not find MyGame.apk!的提示,是由于Android没有正常编译,这个时候<br />只需要选择Project-->Clean,然后再运行android application,eclipse将会编译项目工程。<br />3.如果出现无法引入Android 1.5的库的问题,

gracioushe的专栏 1234

keil5 mdk安装教程

1.选中【Keil uvision5 MDK版】压缩包鼠标右击选择【解压到Keil uvision5 MDK版】。 2.双击打开解压后的【Keil uvision5 MDK版】文件夹。 3.选中【mdk518】可执行文件,鼠标右击选择【以管理员身份运行】。 4.点击【Next>>】。 5.勾选【I agree all the…】然后点击【Next>>】。 6.点击【Browse】更改软件的安装路径,建议安装在除C盘之外的其他的磁盘可以在D盘新建...

谢谢关注“小鱼教你模数电”,各平台同号 1万+

apex之 程序构建器

i. 简介       这个列表一共三个应用程序,其中sample database application是官方自带的模板。       打开应用界面:        这个列表显示的是这个应用所含有的页面包括登录,首页(home),以及其他一些页面。        其中页内容组织到区域中。区域可以包含文本,定制 PL/SQL,报表,图表,地图,日历, Web 服务引用或表单。表单由...

Joon_al_Principe的博客 715

wincc报表步骤实例_Oracle APEX 系列文章16:AOP 报表打印新选择

在 Oracle APEX 20.1 中将 AOP 配置为打印服务器Oracle Application Express(APEX)20.1 的新功能之一,就是与 APEX Office Print(AOP)的集成。在这篇文章中,将介绍这种集成的含义以及如何在 APEX 20.1 中设置和使用 AOP。Oracle APEX 中的后台打印/报表导出Oracle APEX 3.0 引入了将...

weixin_39777967的博客 1064
上一篇: Chapter 1. Getting Started with the Sample Application
下一篇: Introducing the Sample Application
masterall
博客等级 码龄22年 17粉丝 557原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值