Recently in the company to make an accounting reimbursement system.
Need to put a money value of a single 10 hundred Thousand and a corner of the separate out to generate the table.
So I wrote a Function to get this value and put it here to share.
Use flash and ASP to make a message this-asp article (on)
This is about the view.asp source program:
Set conn = Server.CreateObject ("ADODB. Connection ")
Conn.Open Constr
Set rs = Server.CreateObject ("ADODB.") Recordset ")
Sql= "SELECT * from
If Request.ServerVariables ("http_method") = "POST" Then
' Submit the question to the way of operation
Set Mrs=server. CreateObject ("Adodb.recordset")
Mrs. activeconnection= "Dsn=testsys"
Mrs. Source= "SELECT * from question where teachid= '" &
If Request.ServerVariables ("http_method") = "Get" Then
' If you request a page as a GET, set the page number to 1
Page=1
End If
Set Rec=server. CreateObject ("Adodb.recordset")
Rec. activeconnection= "Dsn=testsys"
Rec. Source= "SELECT * from
This is used to serve an E-commerce site, because the site's sales are virtual things, such as the game Recharge card ah what, Support online payment. Over time, there are a lot of people want to play the site's idea, some boring person is always
Author: Liu Yufeng
Http://aspfans.yeah.net
Some time ago this site will replace the first page to asp+ program, in order to allow more friends to asp+ have a better understanding, so special will source code
Public, as for the comments on the code,
If Request.ServerVariables ("http_method") = "POST" and Request.Form ("Submit") <> "skip to" then
' If you submit the form content by post
Set Conn=server. CreateObject ("Adodb.connection")
Conn. Connectionstring= "Dsn=testsys"
Conn.
class
Instructor:
name
Achievements
ranking
Set Conn=server. CreateObject ("Adodb.connection")
Conn. Connectionstring= "Dsn=testsys"
Conn. Open
' Declare the SQL query statement, query the test scores from the database, and sort the
'=====================================================================
' 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 hope my program can
' Spstring.sql
If exists (select name from sysobjects where name = ' sprocstring ')
drop proc Sprocstring
Go
CREATE PROCEDURE sprocstring
@pTitle varchar (80)
As
SET NOCOUNT on
SELECT
*
From
Titleview
WHERE
Title = @pTitle
or @pTitle = ' * '
'
Banner ads are the most common form of advertising on the web. This article introduces a banner ad management system based on IIS and ASP, the system supports the management of advertisers and advertising, can randomly select ads and generate HTML
Second, the management function
There are 12 ASP files in the Management Section, and the main functions of these scripts are as follows:
Banneradminlogin.asp: Login page for admin function. The default user name is "ADMIN user" and the password is "
Voting Results:
Set Conn=server. CreateObject ("Adodb.connection")
Conn. Connectionstring= "Dsn=vote"
Conn. Open
' Sort records in descending order of votes
Set Mreturn=conn. Execute ("SELECT * from Tbvote ORDER by votecount Desc")
If not
ASP common Paging ClassThe attributes and methods of a classThis is an ASP common paging class. You can use it to easily page the recordset, of course, there are many paging classes and paging functions on the web. This page includes properties and
A very good ASP program to build your own voting system
Read it carefully, as long as you can understand the key technologies in the middle
will be able to set up their own polling stations on their own website.
The papers were hastily sorted out
Upload the form as follows:
Title:
Gender: Male and female
Belong to: Literature Sports Art Other
Whether to select:
Content:
Category: Classification 1 classification 2 classification 3 classification 4 Classification 5
Select File One:
Select
To access the values of all controls in the DataGrid in ASP. NET, you can traverse each control in the DataGrid: The following is the aspx code and script code implementing this function [VB. NET ]:Inherits = "aspxWeb. DataGridAccessValues" %>
If a post request is sent to the server on the asp.net page, the framework generates and calls controls according to the event cycle, and controls (if callback is supported) load and return data, the server-side events mapped to the control are like
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