ASP tree Diagram generation program (source code) for connecting to the database

' ******* connection Database tree Graph generator ******** '***************************** ' Suppose you have established the SQL Server database Unittree and created tables in the library: ' Units (ID Unit ordinal integer unique, name unit name

Vomiting Blood Recommendation: ASP Works protection scheme

Since the advent of ASP (Active Server Pages), ASP technology has been popular with more and more network programmers as it can create robust, maintainable, platform-independent applications, and more people are using ASP for Web development. But

A string processing class (Enhanced) (VBScript) in ASP

Related articles See: http://www.111cn.net/Develop/read_article.asp?id=22695 This article on the basis of a number of additions, add a few suitable for Chinese web site function to go in, there may be some did not add, there are interested friends

Example of ASP.net C # using a text file as a database

1. DataSet base class The code is as follows Copy Code Data set base classPublic abstract class Basetbwhere T:class{private static string _textfile = Path.Combine (configurationmanager.appsettings["Textdbdir"], typeof (

Notes using GUIDs in C # in asp.net

A GUID (global uniform identifier) is a number that is generated on a single machine and is guaranteed to be unique to all machines in the same space-time. Typically, the platform provides an API to generate GUIDs. The generation algorithm is

asp.net C # Multiple ways to get file paths

Gets the full path of the current process, including the filename (process name).String str = this. GetType (). Assembly.location;Result:x:xxxxxxxxx.exe (. exe file directory +.exe file name) Gets the full path of the main module that is associated

Methods and steps of C # custom events in asp.net

Typically, C # custom events have the following steps: 1, declare a delegate: (for the definition of the type of event) Such as: Public delegate void event name EventHandler (Object Serder, EventArgs e); The event name is replaced with your own,

asp.net implementation of multiple file upload C # version

C # version Upload.aspx UpLoad.aspx.cs Using System; Using System.Collections; Using System.ComponentModel; Using System.Data; Using System.Drawing; Using System.Web; Using System.Web.SessionState; Using System.Web.UI; Using System.Web.

Implementation of data invocation in asp.net jquery $.ajax

A recent Ajax call has been made in asp.net: The client side first takes a page template from the ASP.net server and then takes some relevant data from the server when the page is initialized to implement the dynamic display of the page template.

ASP Access database Connection code

Dim conn,connstr,timesdb,rsTimesdb= "./www.111cn.net/#tsm_admin_data. asp"Connstr= "Provider=Microsoft.Jet.OLEDB.4.0;Data source=" & Server.MapPath ("×db&")' On Error Resume NextSet conn = Server.CreateObject ("Adodb.connection")Conn.Open

ASP Get File Size

' Function: Get file sizefunction getfilesize (filename)' Determine if the filename is emptyIf Filename= "" ThenGetfilesize= "0KB"Exit functionEnd IfDim ofso,ofile,sfileSfile=filenameSet Ofso=server.createobject ("Scripting.FileSystemObject")'

ASP returns the directory name and parent path of a path

' ############## returns a directory name for a path #########################################################################function GetPath (Givepath) ' Returns a directory name for a pathDim I,num,pathPath=givepathFor i=0 to Len (path)-1If Mid

ASP read and write file functions

' This article provides two ASP file operation function, read opens the file to read the entire content, Wirte writes the content to a file.function read (path)Set Mf=server.createobject ("Scripting.FileSystemObject")Set Mt=mf.opentextfile

ASP for each statement instance

for Each statement instance example27 Please input e-mail: >If Request.Form ("submit") = "OK" thenEmail=request.form ("email") ' Read the input stringNames=split (email, "@") ' The Split function is to split the string into multiple substrings with

ASP generation directory and unlimited generation multilevel directory creation

Sub EFolder (foldername) Dim fso Set Fso=server.createobject ("Scripting.FileSystemObject") If Fso.folderexists (Server.MapPath (foldername)) then Set fso=nothing Exit Sub Else Fso.createfolder (Server.MapPath (foldername)) End If

Asp. NET use jquery DataTables usage instructions

Okay, first of all, ignore the data-encoding object that will save our Oscar nomination. Now that we have something more interesting, let's add some labels to the. aspx page to let this thing run. First, add a link to the default style sheet in the

Asp.net Web. Config saving settings cause the website to be restarted from time to time

I wrote an ASP. NET article a few days ago to read and write Web. Config. Then I did use the method in this article to rewrite the configuration module of my website. The results showed that the website was restarted from time to time, which was

Usage of asp.net linq and object

: What is linq?Linq can be understood as a strongly typed query language embedded in the C # syntax. (Note: Although linq looks similar to SQL queries, its syntax is different .)II. What is the role of linq?Provides a unified and symmetric way for

Detailed description of various page caches in asp.net

Asp tutorial. net various page cache detailsImplementationTo implement the page output cache, you only need to add an OutputCache command to the page.Like other page commands, this command should appear at the top of the ASPX page, that is, before

Differences between Delegate, Action, Func, and Predicate in asp.net development

Asp Tutorial: Delegate, Action, Func, and Predicate in. net developmentMany new programs, such as Linq and Lamda expressions, are poorly written. The use and differences of related Delegate, Action, Func, and Predicate are often confusing. Here we

Total Pages: 1800 1 .... 891 892 893 894 895 .... 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.