KB100013: How to create a secure, stable server-side data access component for a Microsoft Access da description
When developing your web-based application, you'll most likely move application data access (and business) logic into compiled components. If your data access involves file-based databases, such as Microsoft Access, you'll need to employ the Server.MapPath method in order to build the proper connection string to the MDB file for your OleDbConnection object. The Server object is intrinsic to the ASPX page object, and thus Server object methods are available if you build your data access code in the ASPX page itself. However, this is not the case if you build data access in the page's Code Behind module or in a separate component. In these cases, you'll need to instantiate an instance of the Server object, or use the fully qualified path of the Server object's MapPath method. Both of these approaches are covered here.
Similar scripts
ListBox Control Overview
(Popularity: ) : ListBox Control Overview is a tutorial in which you can get details about the ListBox control of ASP.NET. In this tutorial the author shows how to add the items of the listbox control in two ways such as by using ... Add a Checkbox Control to the DataGrid Control
(Popularity: ) : Add a Checkbox Control to the DataGrid Control is a tutorial through which you can know about adding a checkbox control to each row of the datagrid control. The author also shows how to check the state of the check ... Simple country dropdown component
(Popularity: ) : This online tutorial is about a small project description in which the author explains about how a country or state dropdown component works in VB.NET. The author projects the source code which would help the webmasters to understand very easily. ... Letter, Alphanumeric Based Paging in ASP.NET
(Popularity: ) : Letter/Alphanumeric Based Paging in ASP.NET is a tutorial through which you can learn how to add letter-based paging in datagrid control using the repeater control of ASP.NET. The author explains the users, how to add the datagrid control to the ... How to set focus to a MS ASP.NET TreeView on form load
(Popularity: ) : How to set focus to a MS ASP.NET TreeView on form load is an easy to learn ASP.NET tutorial in which the author shows you the sample code for setting the focus to the treeview control using the document object ... DataCalendar
(Popularity: ) : In this ASP.NET article the author discusses about the calender control of ASP.NET and also shows the various uses of calender control with sample programs. The author also explains about creating ItemTemplate for the calendar control as well as applying ... Selecting an Item in a DataList using C#
(Popularity: ) : Selecting an Item in a DataList using C# is a web based tutorial which gives you the sample code for adding a datalist control on the aspx page, establishing the database connection using the ADO.NET connection object, binding the database ... User controls in ASP .NET
(Popularity: ) : User controls in ASP.NET is a web based tutorial through which web developers can gain knowledge about creating toolbar control. In this tutorial the author shows you how to create a toolbar control with properties such as border width and ... Making A Simple Server Control
(Popularity: ) : Making A Simple Server Control is an useful tutorial for the novice programmers to know how to create your own server control in ASP.NET. The author gives you the sample programs for creating the control and also shows you the ... Creating Office Managed COM Add-Ins with Visual Studio .NET
(Popularity: ) : This online article explains about how to create an office managed COM add-in with the help of VS.NET. The author also examines the shared add-in project in this article. Examining the project's setting is explained by the author. The author ...
User reviews
Similar Software
REAL SQL Server for Mac
(Popularity: ) : A powerful, reliable database server. Ideal for use with REALbasic, REAL SQL Server runs on Windows, Macintosh and Linux. REAL SQL Server is based on SQLite, a powerful, public-domain database engine widely used by Google, Sun Microsystems, McAfee, Mozilla Firefox ... AL Screensaver&Slideshow Builder
(Popularity: ) : This program (ALSSB) allows you to create the screensavers and slideshows using any kind of image files (BMP, JPEG, JPG, TGA). You may also add any soundtrack (.MID, .WAV, .MP3 and .m3u formats are supported) into it. ALSSB can center, ... AL Waterfalls Screensaver
(Popularity: ) : Waterfalls are one of nature's most captivating sights. Cascading down from their heights, they always create a sense of wonder that nature could form such a beautiful piece of artwork from mere rocks and water. The 17 beautiful photos of ... Game Editor Linux
(Popularity: ) : Game Editor is an interactive multimedia tool for game development,
with a simple and intuitive interface and a rich set of features which
allow anyone, even with little or no programming knowledge at all, to
develop 2D games for personal computers ... Flash Wallpaper Maker
(Popularity: ) : It's a tool which help you to create your favorite macromedia flash file to be your wallpaper, also it can help you pubilish it just by click a button. JSCAPE Secure FTP Server
(Popularity: ) : Platform independent managed file transfer server that supports FTP, secure FTP (FTP over SSL), HTTP and HTTPS protocols. JSCAPE Secure FTP Server greatly simplifies the process of securely exchanging data with trading partners and automation of file transfer processes, resulting ... JSCAPE Secure FTP Server for Linux
(Popularity: ) : Platform independent managed file transfer server that supports FTP, secure FTP (FTP over SSL), HTTP and HTTPS protocols. JSCAPE Secure FTP Server greatly simplifies the process of securely exchanging data with trading partners and automation of file transfer processes, resulting ... How to make seamless textures for games
(Popularity: ) : Learn how to tile images seamlessly in this eBook. Find out how to create tiled textures using Photoshop. These tiling techniques can also be used in other graphics editors.
The sections available in this eBook are:
-Choose a suitable texture
... Joboshare Movie DVD Copy
(Popularity: ) : Joboshare Movie DVD Copy, powerful Movie DVD copy and Movie DVD clone software, can copy your DVD movie collection to blank DVD discs. It supports DVD 1:1 copy with a DVD burner, the DVD copies can remain 100% same to ... 4Easysoft Mac iPhone Ringtone Creator
(Popularity: ) : 4Easysoft iPhone Ringtone Creator for Mac offers you the easiest and quickest way to create a ringtone for iPhone on Mac. For this Mac iPhone Ringtone Creator can convert any video and audio like AVI, MPEG, WMV, MP4, FLV, MKV, ...