ASP program implementation Download SQL database

Program | data | database | download sql Server Database backup and Recovery Select actions: backup recovery database name: " > file path: (Backup or Restore file path, back to exe mainly for easy downloading, alive ...) Dim

Application of timer in asp.net

asp.net protected void Application_Start (Object sender, EventArgs e) { Init (); System.Timers.Timer mytimer=new System.Timers.Timer (3000); Associating events mytimer.elapsed + = new System.Timers.ElapsedEventHandler

asp.net to manipulate word (simple)

Asp.net|word First you add a reference: COM----> Microsoft Word 9.0 Object LibraryTo use this namespace: System.Reflectionvoid Opword (){Word. Application oword;Word. _document odoc;Object Docbuiltinprops;object omissing = Missing.Value;Object

asp.net upload picture (good)

asp.net| Upload | upload pictures ///By the time the pictures were uploaded/////////private void Button1_Click (object sender, System.EventArgs e){int towidth = 120;int toheight = 90;int t=0;Page.validate ();if (! Page.IsValid){Return}Istop= "";

5 ways for ASP to connect to a database

Connect the database first-this method is used in access with the most strconn = "Driver=microsoft Access DRIVER (*.mdb);D bq=" _ & Server.MapPath ("Aspfree.mdb") Set conn = Server.CreateObject ("Adodb.connection") Conn.Open strconn The second type-

Download the file stored in the image field of SQL7 to the client's ASP source code

Client | download | Source code to download the file stored in SQL7 image field to the client's ASP source code FileName: download.asp How to use: download.asp?fid=xxx Description: Download the files stored in the image field of SQL7 to the

Several ASP useful custom functions

Function cleft (string,length) returns the specified number of characters from the left side of the string, distinguishing between single and double bytes. Such as:Dimmystring,leftstringmystring= "text Test VBScript"Leftstring=cleft

asp.net get existing table names in Access

Access|asp.net protected void gettable (){object[] Restrictions = new object[] {null, NULL, NULL, ' TABLE '}; //OleDbConnection gettableconn = new OleDbConnection (cgetconnstr.connstring);Gettableconn.open ();DataTable temptable =

Automatically add hyperlinks to URL addresses in asp.net

Asp.net| Link as a programmer, after the completion of the design, according to the situation of the program and the user's reflection of the process of continuous improvement, so as to continuously improve their work. After making the Software

An example of asp.net recursive generation of XML trees

asp.net|xml| Generation xml| Sample | recursion An example of asp.net recursive generation of XML trees Code: The following is a reference fragment:Cdepartmentinfo category entity ClassSjid: Association ID with large categorySpace:

Using the method to implement Windows login in asp.net

Asp.net|window public bool Login (string UserName, String Password, String Domain) { String Text1 = Domain.trim (); String text2 = Username.trim (); Text2 = Text2. Replace ("/", @ "\"); int NUM1 = Text2. IndexOf (' \ \ '); if (NUM1!=-1) { Text1 =

ASP security detection and filtering function Safecheck

Security | function '-------------------------------------------------------------------------- ' Role: Secure string detection function ' Name: Safecheck ' Parameter: checkstring,checktype,checklength Description ' Checkstring to detect string: any

asp.net 2.0 making a Composite Control sample (ii) [sample code DOWNLOAD]

Asp.net| Control | sample | download (i). overviewDemonstrate the production of a composite control by making a function Custom Composite Control(ii). Code1. Core control implementation code file ComputeControl.cs1using System;2using

ASP installs SQL database and imports data and establishes users

Import Data | database ' On Error Resume Next Action=request ("Action") IF action<> "Install" THEN %> Fill in Installation information SQL database administrator: SQL database Password: SQL database address: Else Struid=request ("Struid"

Use SQL statements in ASP 3:like, not like and BETWEEN

You have seen the use of like in the example where you have taken the W-heading record above. The like decision word is a very useful symbol. However, in many cases it may give you too much data, so it's a good idea to think about what data you want

Some of the previously collected data---How to debug Component technology on ASP server

How to debug component technology for ASP server This article mainly describes how to debug ASP server-side component technology, including this complex Error message: One, ASP 0115 Error. Second, the code in a separate EXE file inside the operation

ASP calls the JMail component to send mail

Jmail|jmail Components | sending mail in the ASP program in the JMail email more, mainly because most of the virtual host support him, other support is less. The following is an example code for JMail email: If you try on your own machine, please

ASP Parameter Report Client

The client first posts a simpler Asp+rds client-side report This article hopes to enter the essence Next post a more complicated Note: (If you are prompted that an ActiveX component cannot participate in RDS.) DataSpace) IE need to set security

ASP no component upload progress bar solution

Solution | upload | No component one, no component upload principle I am still 1.1 points with an example to illustrate the bar, the client HTML is as follows. To browse the upload attachment, we pass element, but be sure to note that the Enctype

To bind a control using the asp+ list (top)

Introduction to Asp+| Controls The Repeater, DataList, and DataGrid controls form system.web in the asp+ page frame. Ui. WebControls a set of related Web controls within a namespace. These controls bind the HTML display The contents of a set list

Total Pages: 1800 1 .... 599 600 601 602 603 .... 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.