A question recently asked was how to make a federated query of tables in two databases.
Then I used the stupidest method to achieve it. Want to see a friend can give a good solution, with only one connection string. It's best to give a detailed
The author of this article: Longlongago Blog address: http://blog.111cn.net/longlongago2000
During the winter vacation with ASP did a write Bo program, later wanted to use PHP to achieve, so on the internet to find the php+mysql installed, I found
The code is as follows
Copy Code
ALTER PROCEDURE [dbo]. [Sp_sql_paging](@SqlDataTable NVARCHAR (4000),--table name@PrimaryKey NVARCHAR (4000),--primary Key name@Fields NVARCHAR (4000),--the field to be returned@pageSize INT,--page
using System;
Using System.Web;
Using System.Drawing;
Using System.IO;
public class Bookhandler:ihttphandler {
Private Const string COVERSADDR = "~/image/"; Cover Page Folder path
Private Const string Watermark_url =
I=0Set Rs=server.createobject ("Adodb.recordset")sql = "SELECT * from Table order by date Desc"Rs.Open sql,conn,1,1If Rs.eof Then%>No articlesElseDo as not rs.eof%>" target= "_blank" >I=i+1If I>=8 then Exit Do ' show bar numberRs.movenextLoopEnd
ASP Special Word Fu Shi code Function strreplace (str) if str = "" Then strreplace = str ELSE strreplace = replace (str, "'", "") end if End Function Detect numeric function Functions Check_ Num (str) Dim i for i = 1 to Len
, if you do not install the AspJpeg components please download here. Http://down.111cn.net/down/soft/object/2009/0227/35.html
Function chkimg (IMG)On error Resume Next ' in order to capture error messages, the code needs to be able to continue
Asp.net Getting Started Tutorial: ASP. NET SortedList object tutorialSortedList object features a combination of ArrayList objects and hash table objects. ExampleFor example, 1-S ortedListR adioButtonListFor example, 2-S ortedListR adiobuttonListFor
. Net Getting Started Tutorial: ASP. NET web page formsAll Server controls must appear in a tag, and the tag must contain the runat = "server" attribute. ASP. NET Web formsAll Server controls must appear in a tag, and the tag must contain the
01: // 02: // use the value in the byte array to initiate a new instance of zipinteger structure03: // Note: This constructor will destroy the value of the passed bits parameter.04: // 05: // An array of byte values in the order of big-endian 06:
Asp tutorial. net c # regular Image addressThis uses the regular expression in the asp.net tutorial c # to recode all the image addresses in the string and replace it with the address we want to connect.*/Public static string getimgurl (string
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