When you debug a. NET Web site that is downloaded on the Web, you are prompted for an error when you open it:Error summaryHTTP Error 500.22-internal Server errorDetects asp.net settings that are not applicable in integrated managed piping mode.
Copy Code code as follows:
Dim Strok,strno
Strok = "12312321$12312312312$12312321$"
Strno = "12312321$12312312312$12312321$SDFSD"
Function regexptest (PATRN, STRNG)
Dim regEx, match, matches ' set variable.
Set regEx = New RegExp '
Createhtml
All articles generated, easy to use resources large
The first method:
Copy Code code as follows:
' Start HTML Build Way
Set rs=server.createobject ("Adodb.recordset")
Sql= "Select
This is used to plan tasks, first assuming that your program's address is "http://1.0.0.8/a.asp", then you edit the following:
Copy Code code as follows:
Dim IE
Set IE = CreateObject ("Internetexplorer.application")
Ie.navigate ("http:
Program code:
Copy Code code as follows:
' Search for keywords
Str= "SELECT * FROM tablename where id>4"
If srhkey<> "" Then
Keyarr=split (Srhkey, "")
J=ubound (Keyarr)
T=0
Dim Keystrarr ()
For I=0 to J
If Keyarr (i) <> "" Then
These days to do a project useful to the table to display data where the customer requested a duplicate data column needs to be merged, summed up the GridView and Repeater about the method of data merge.
The effect chart is as follows:
Often heard of ASP upload vulnerability, that is, some Trojan file to modify the suffix name (modified to the image file suffix), upload.
Use the following functions for this situation to identify:
Copy Code code as follows:
'************
Copy Code code as follows:
strSourceFile = Server.MapPath (dataxml& "/advertisement/" &id& "/adv.xml")
Set objxml =server.createobject ("Microsoft.XMLDOM") ' creates an XML pair like
Objxml.load (strsourcefile) ' reads the XML file into
The main implementation of the management of the background interface user data modification and deletion, modify user data and role is often used in the function, but the deletion of the user situation is relatively small, in order to complete the
The definition of an array
Dim myarray
MyArray = Array (1,5,123,12,98)
Extensible array
Dim MyArray ()
For i = 0 to 10
ReDim Preserve myarray (i)
MyArray (i) =i
Next
Splits a string and returns an array of split results
Dim myarray
MyArray = Split
The example in this article describes the ASP.net implementation method for exporting DataTable data to Word or Excel. Share to everyone for your reference, specific as follows:
/// Export DataTable data to Word or Excel//////page directives //
Copy Code code as follows:
/**
* Function: Implement global variables like application in jsp,asp
* Author: [Url]www.itzg.net[/url]
* version:1.0
* Copyright: Please keep the copyright notice in this reprint.
*/
The XML file generated by DataSet.WriteXml (String) contains an XML declaration, while DataSet.WriteXml (Stream) does not write to the XML declaration, which is
Detailed information:
When writing a data backup program for a blog park, you would
User control is often used in asp.net development, if many pages use the same user control, then each page should be introduces user control before it can be used. This is so much trouble, so let's teach you a simple way today.
First open
The first algorithm, save a little bigger problem. Didn't find out.
Copy Code code as follows:
static void Main (string[] args)
{
//
TODO: Add code here to start the application
int singletitlemeasure=5;
int n=1;//declares an int
①. paging file using the correct encoding, gb2312 use ansi,utf-8 use Utf-8;
②.asp code to set the correct codepage,gb2312 use 936,utf-8 use 65001;
③.html code to set the correct charset,gb2312 use gb2312,utf-8 to use utf-8;
④. The passed parameter
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.