MS Access database connection
Connect with DSN and no username and password:
Set conn = Server.CreateObject ("ADODB. Connection ")
Conn.Open "Yourdsnname"
%>
Connect with DSN with user name and password:
Set conn = Server.CreateObject ("ADODB.
Original question: F0046238
It turns out that it's not my program that wrote the error, but I typed some specially encoded text into the database, and if there is such text in the Access database, then you can't use the order by when you search ...
How to set code-generated files to read-only in ASP
(01-2-25 137)
"Hooke" was posted at Joy asp↑ in 2001-2-21 17:12:14:
Attributes Property
Sets or returns the attributes of files or folders. Read/write or Read-only, depending on the
Iamtrue published in 2000-11-2 7:56:49 ASP zone
Getfile.htm
-------------------------
save pictures to database
you can find a picture to try, after saving will be prompted
email: "
Picture:
Savetodb.asp
------------------------------
Here we provide an ASP tutorial. NET multiple File upload code (full example) Oh, and this is a browser-compatible file upload code OH.
Web page Special effects code
asp.net tutorial files
ASP tutorial. NET Generate graphics validation code program
void Palm::d isplay (){Glloadidentity (); Resetting the current model observation matrixglcolor3f (. 0f,1.0f,1.0f);Draw the Palms aroundGlbegin (Gl_quad_strip);glvertex3f (-39.5000, 37.7
I. Initialization section:1. Constructor: Creates an instance of the page class that initializes the properties of the page class.2.addparsedsubobject function:
protected virture void AddParsedSubObject (object obj)
Extracts the server
ASP tutorial. Net How to change the border color of a form
function Highlightwindow (pl_hwnd:hwnd;cor:tcolor): bool;
Var
LL_HDC:HDC;
Lu_rect:trect;
Ll_pen:hpen;
Begin
GetWindowRect (Pl_hwnd,lu_rect);
LL_HDC: = GETWINDOWDC
ASP tutorials automatically close the Excel process code when the. NET build xls file completesMethod One
Gc.collect ();
ApplicationClass Excel;
_workbook XBK;
_worksheet xst;
Excel = new ApplicationClass ();
XBK = Excel.workbooks.add (true);
ASP tutorial. NET Import Database tutorial records into Excel filesThis is a simple import Excel file code, using exprot.aspx to export the specified database records into an XLS file OH.protected void button2_click (object sender, EventArgs e)
{
ASP tutorial. NET Date Comparison codeHere are two ways to compare dates, and calculate the number of days before two, and the difference between hours.Easy to understand date comparisons
datetime startdate = DateTime.Parse ("2010-7-21 00:00:00
ASP tutorial. NET cookie Implementation top step function code
public void ProcessRequest (HttpContext context)
{
BLL.VIDEO_BLL VIDEO_BLL = new BLL.VIDEO_BLL ();
if (!string.isnullorempty (context.request.querystring["id"])
{
int id =
ASP Post
Previous lessons from the ASP form acquisition created an ASP page processing information sent via an HTML form with Get method. In this lesson, we will look at how to handle data transfer through the Post method and see how it differs
ASP variable-vbscriptASP is not the language itself. In order to plan the ASP actually, you need to know the VBScript scripting language. This means that the rules of all VBScript variables can be applied to your ASP code. This lesson will teach you
ASP's SyntaxIf you have any experience with PHP, JavaScript or general ASP programming then the syntax will make a sense to you. However, if you have experience only with network technologies, such as HTML and CSS, then the ASP will face greater
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