Accessing a data source
ActiveX data Object (ADO) is a technology that is both easy to use and extensible, use to add database access to your Web page you can use ADO to write concise and scalable scripts to connect to OLE DB-compliant data sources,
Summary:
This paper discusses the method and function realization of using ASP to access DBF, DBC, MDB, Excel, SQL Server data, and finally gives an example of accessing Excel database by using the function provided in this paper, which has strong
Some time ago has sent a simple jmail mail email code, today this code to make a specific annotation, and add two other formats of code, with a few simple examples:
The first is Jmail.smtpmail's core code:
Set JMail = Server.CreateObject ("JMail.
Attempt to send a message, but failed, please modify the error and try again!
Response.End
Else
Thegroup= (Mid (Trim (Strfieldvalue), 4))
End If
End If
Tmpsql= "SELECT * from T_group where owner= '" &session ("myID") & "' and Groupidowner= '"
Note: This scenario is intended for use by ASP to connect all types of databases through their own development components
Some enterprise databases now use Informix, and most developers have fewer operations on the database,
Because the current
The following is an ASP tutorial. NET Entity class object assignment to form implementation code, a few days ago a friend told me reflection form assignment to an object method of an entity class, the following is a very good example.
using
Rem Initialization excelapplication Working environmentDim Excelapp,ebook,esheetSet excelapp = CreateObject ("Excel.Application") ' establishes an Excel objectExcelapp.displayalerts=false ' does not show warningExcelapp.application.visible=false '
ASP Classic database connection file support Access,mssql server Dim conn,connstring Sub openconn () if db_type = "Access" Then connstring = "Provider = Microsoft.jet.oledb.4.0;data Source =" & Server.MapPath (Accpath) els EIf Db_type =
When I was developing the company OA system. I'm looking for a csdn menu. But there is this code on the Internet. But it's not database based, and it can't be managed by rights. I wrote one. There is only one program file and one database. But the
Active Server pages enables dynamic pages to be executed quickly, but by adding skills to the connection to the database in your code, you can make the program execute faster. This is an article on how to refine the script and ASP features to
Asp Gets the image in the content. This is a piece of code I commonly use. I use regular expressions to get the image address in the content of the article.Function getphoto (strHTML, key)Dim objRegExp, Match, MatchesSet objRegExp = New
The method of this program is to use XMLHTTP to read the corresponding HTML code of the Tencent website to obtain the QQ avatar. Based on this idea, we can also capture a lot of information from other websites, such as weather forecasts and news.
Original user aspboy1Many of my friends wrote to ask me how to implement intra-site search. In fact, it is very easy to implement intra-site fuzzy search using ASP.Here we will only share with you the specific implementation ideas. First, we need to
///// // By xxrl)/// // Chinese: Jiang Jianhua//// // Email: jjh_115@eyou.comLinkage, linkage, linkage .... Troubled by a lot of netizens nervous, in the CSDN-ASP section, always see netizens shout for help, save what? Linkage! Why is the
Iis5 asp leakageWhen IIS 5.0 receives an HTTP request in a special format header (Translate: f),L if the end contains a special character, IIS will use an incorrect method to cause File Source code leakage. The following code is only used to test
Because we are designing an asp.net + xml + delphi three-tier designSo I am sorting out a simple item.The following describes how to access xml, access, and mssql data.Protected DataSet LoadMyPBData () {String sourceXml = Server. MapPath ("phone.
There is no bit operation in vbs, so js and vbs are used in a page, which is not good. If you use vbs, you can do it, but it is a bit too long, and pay attention to it, if you split ("202.102.29.6", ",") in vbs, you will get three numbers: 202,102
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