fso| Skills
In this program is the mid function, the function is to return a string from the first few characters in the beginning. The format is: Mid (string,start,length)
Learned the FSO to extract the file value, but also learned to input the
fso| Tips
Four, file. Delete
Obviously, the file is deleted directly.
4,delfile. Asp
Set fso = CreateObject ("Scripting.FileSystemObject")Set f1 = fso. CreateTextFile (Whichfile,true)F1. Write ("This is a test". My Name is cnbruce. ")F1. CloseSet
Filesystemobject| object now provides support for the ASP free space more and more, for the ASP enthusiasts is undoubtedly a good momentum, but many provide free ASP space sites are not on the FileSystemObject this to
as a result of any
window|windows2003| Error | solve | problem
Configure IIS6.0, and then successfully import the SQL2000 database, the following error message appears after you enter the address Access Index.asp page:
Active Server Pages error ' ASP 0131 '
Parent
Show some days ago some netizens asked: the ASP recordset output into N columns of the form display method, now write a, convenient for everyone to use.
' Define variable
Dim Cn,rs,sql
Sql = "Select CustomerID from Orders"
' Total Records
Paging '===================================================================
' xdownpage ASP version
' version 1.00
' Code by zykj2000
' Email:zykj_2000@163.net
' Bbs:http://bbs.513soft.net
' This program can be free to use, modify, I
asp.net| Data
Implementation effect: Select a row in the main table and draw details of the row from the table.
Method 1: Code implementation.Put a GridView on the page, a detailview. Data binding GridView and to set the primary key, and then write
Asp.net| Program | download | page
In the production of the site often need to develop the function of downloading files, the following three ways to download the file:1, ASP implementation of the download codefilename = request.querystring
Asp.net| Program | dropdown | The drop-down list shows a drop-down box with alternating three colors, as shown in the following illustration.
Implementation method:
1. Use the System.Web.UI.HtmlControls control to run it as a
Asp.net|client
The previous chapter has written about the use of the RegisterStartupScript method in ASP.net, and in the. NET Framework there are methods similar to this: RegisterClientScriptBlock. Both methods are used to write scripts backwards
asp.net when access to the default home default.aspx, will automatically jump to the Login.aspx page request login, random input username and password, click the "Login" button, will return to the home page, and display the user name of the current
'----------get content remotely and have the content on the local computer, including any files! ----------
'---------------use XMLHTTP and adodb.stream, cool! Absolutely original! -----------------
' On Error Resume Next
' Set ' the content type
Solve [preface]
We often encounter multiple query problems, and long SQL statements are often confused. In particular, when the client part of the query conditions, such as the ordinary method will be even more difficult.
The following ingeniously
ASP.net today's question is about submitting a form in a asp.net environment. I wrote a button-triggered event like ASP and then used Formname.submit to submit. Results hint:
Bc30451:name ' Form1 ' is not declared.
But I was in the back of the
asp.net demo.aspx code:
cellspacing= "0" bgcolor= "" >
blenders on sale!
We are selection of blenders in the
Home Appliance Deparment.
Enter color:
Username
Content
------------------------------------------------------------------
Asp.net| Solutions | questions
How do I achieve the effect of a textbox display as an underscore?
Workaround:
You can use CSS style sheets to control:
. myline {border-right: #000000 0px solid; Border-top: #000000 0px solid; Border-left: #000000
asp+| stored procedures Call stored procedures in ASP
Dim objcnn
Dim objcmd
Dim Rs
Const O_ID=112
'-----Set up the Connection object----------
Set Objcnn=server.createobject ("Adodb.connection")
Objcnn.open "Driver={sql Server};server=localhost;
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