How do I create a DSN using ASP?

dsn

Create odbc SQL Server @softwing .com Set xobj = Server.CreateObject ("Softwing.odbcregtool") Strdriver = "SQL Server" STRDSN = "Dsn=new SQL Server Data source" & vbNullChar & "description=new SQL Server Data source" & vbNullChar strDSN =

Easy user Access control in ASP (1)

The usual way to pass parameters between pages in a site is through a URL query string, or by setting a hidden field in the form. Two other popular methods are using cookies, or using ASP session variables. In this article, we will discuss how to

Intimate contact asp.net (9) storing multiple data tables in a dataset

Store multiple datasheets in a dataset we are accustomed to using the Recordset object to manipulate the database in our ASP, but the one disadvantage of the recordset is that a recordset can only store one datasheet, and when we need to manipulate

Using ASP.net to implement XML-based guest Book Two

Four Code: (1) Guestpost.aspx: Welcome to my Guest Book When the submit button is pressed, adjust the functionpublic void Submit_click (Object sender, EventArgs e){file:// The path of the XML file where the data is storedfile://If your path is

Some common functions for processing datetime in asp.net

asp.net| function ' Uses the Timespan method to subtract a certain number of daysFunction Date1 ()Dim NewTime as DateTimeNewTime = DateTime.Now.Subtract (New TimeSpan (7, 0, 0, 0))NewTime = Newtime.format ("mm/dd/yyyy",

Asp. NET provides file download functions (support for large files, continuous transmission, speed limits, resource footprint small)

asp.net| function | speed | download Output hard disk file, provide downloadInput parameter _request:page.request object, _response:page.response object, _filename: Download filename, _fullpath: Download path with filename, _speed number of bytes

ASP GB turn big five yards

'================================================== ' Function name: Gb2big5 ' Function: GB code turns big five yards ' Argument: Text------string ' Author: netyum (Yang Song) ' Q q:8025628 ' Time: June 28, 2004 '=====================================

ASP and SQL Build Web site system in the various operations of the database

md5

Data | database '//Query method '//----------------------------(1)------------------------------- Set rsworkuserinfo = Server.CreateObject ("ADODB. RecordSet ") strSQL = "Select UserSID, LoginName, UserName, Password" strSQL = strSQL & "from Users"

ASP 3.0 Object Model Overview

Object Before studying the details of the ASP from a programmatic perspective, you must look at the ASP object model. This is very important. Because if you do not do the same work on ASP 2.0, you must consider how the ASP generates the page.Object

Dynamic load tree (asp+ database)

Asp+| News | data | database Asp+access in the data volume of 1 million records, loading speed is still staggering .... Reproduced online. Forget the author ...:) Index.asp ************************// tree

Control display with ASP.net 2.0 FormView control

Asp.net| Control | control | The FormView control that displays ASP.net 2.0 is similar to the DetailsView control because it makes it easy to display a single record of a back-end data source. This article discusses the syntax and application of

asp.net 2.0 problems with sending e-mail

Asp.net| issue in the new release of ASP.net 2.0, Microsoft no longer recommends using the System.Web.Mail namespace instead of the new System.Net.Mail namespace. Many new features have been introduced into the new library, but there are some minor

Asp. The State retention mode of session in net

Asp.net|session Asp. NET provides a session object that allows programmers to identify, store, and process contextual information for several requests to a particular network application on the server by the same browser object. The session

Implementing hierarchical privilege control with ASP

dsn

Control of this article is a billing management system to control the hierarchical permissions, the program is written using ASP and JavaScript, in the IIS4.0-equipped win NT Server running, fast, easy to maintain. The permission levels are divided

ASP six main objects introduction (2)

Object 1, Buffer property This property is used to specify whether the buffer is used when the page is exported, and the default value is False. When it is true, the results are not exported to the browser until the entire active Server page

asp.net 2.0 HttpHandler implementation of a file type rights protection (sample code download)

asp.net| Example | download Learn to tidy up a bit(i). HttpHandlers can handle requests for a particular file type.For example, in the Machine.config file, the default already has most of the system processing handlers:.......Creating a HttpHandler

ASP Programming-20 Common examples

Programming 1. How to use ASP to judge the virtual physical path of your website Answer: Using the MapPath method Thephysicalpathtothisvirtualwebsiteis: Answer: Using the Therequestobject method Strbrowser=request.servervariables

Using ASP to generate pictures with random numbers

Random | Random numbers Document I. xbm.asp Response.buffer=trueWithresponse. Expires=-1. AddHeader "Pragma", "No-cache". AddHeader "Cache-ctrol", "No-cache"Endwith DimnumRandomizeNum=int (7999*rnd+2000)Session ("Validatecode") =num DimimageDimwidth,

asp.net 2.0 build one of the shopping carts and payment systems

Asp.net| Shopping Cart So far, I've used the DataGrid control in almost every commercial c#.net project I've ever participated in; So, when I first heard about how the GridView was improving productivity, I tried it out very quickly. Both the

Asp. NET data transfer summary between pages

Asp.net| Data | page Asp. NET is one of the most important advantages of ASP, and the main reason why it is welcomed by more and more programmers is that ASP. NET provides developers with event-driven development patterns from which programmers can

Total Pages: 1800 1 .... 349 350 351 352 353 .... 1800 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.