asp.net
Recently, Visual Studio 2005 deeply attracted me, the heart that excited ah, can't wait to learn about the ASP.net 2.0 in some of the new features, want to small test, now give you reference, hehe.In the development process of a website, it
function | tips | Connecting to a database
Careful developers sometimes think that when we include code like
So, is there any way we can get the database connection to open only when we need to read the database, without any action when we read it?
Create | object | | | |
One, ASP Chinese display of two ways to solve
The author just began to write asp+ program when encountered the first big problem is the Chinese display problem, run found asp+ from the database to read out of all the
Function
Here is a function to remove the image address from the HTML:The main principle is to use regular judgment properties. This will be very useful in the acquisition program.The functions are as follows:
Function showpic (str)Set objregexp =
Dynamic | solution | page | page
Why in the ASP to specify the codepage 65001 also often display garbled. Wit here will explain this problem in detail, lest many friends again detours, and even repel UTF-8.
If you do not know what UTF-8 is, then the
asp.net|datagrid| page ASP. NET page, sometimes we need to freeze a column in the DataGrid, for example, when the number of data items is too large, we need to make the first column not move, drag the horizontal scroll bar when the other columns are
asp.net|vs2003| Conversion
I've got a lot of demos based on VS2003 (and VS2002) asp.net. And I used the VS2005, I use these demo, basically most of the VS2003 based on the ASP.net project because a few files can not be converted to load the project,
Asp.net| stored Procedures | pagination | Tips I'm not a very experienced programmer, in the process of doing the project will encounter a lot of problems, the use of pagination in the database is a problem I encountered in the project. I've looked
Simple Chart Example
It's easy to use Oh, that's it:
Building Objects with Server.CreateObject
Set chart Properties
Call the Savechart method to save to the hard disk or send directly with Response.BinaryWrite chart.image
The following code is a
Asp.net| Advanced | Data data controls support a variety of methods for handling null or missing data. For example, the GridView, FormView, and DetailsView both support the Emptydatatext or EmptyDataTemplate properties, which you can use to specify
asp.net
asp.net 2.0 "plugin" said
Of the new features of ASP.net 2.0, the most "dazzling" is the master page, theme/skin,Membership and role management, user-defined attributes, and page personalization settings for WebPart.Except for the first two,
Source Code
Id=trim (Request.QueryString ("userid")) ' Gets the current user name, which is himself (equal to session ("UserID")
If Request.QueryString ("act") = "send" Then ' get current operation status
Who=trim (Request.Form ("who")) ' If the
asp.net
A few days ago to attend the Tech-ed Congress, in fact, more is to know some like-minded friends, MS Curriculum is often a superficial, so listen to the lesson to also have no meaning. However, it is gratifying to know some friends in the
How to implement Ping in ASP
Use WSH to call the system's ping command, redirect the Ping's results to a text file, and then display the text file to the Web page
The following are specific practices:
First, build one. BAT file (for example:
Response.Write "Reading new chapters "
Set Conlink=server. CreateObject ("MSWC.") Nextlink ")
Set Fsys=server. CreateObject ("Scripting.FileSystemObject")
If Fsys. FileExists (server. MapPath ("/project4_local") & "/new1/new.txt") Then
Ith=conlink.
Asp.net| Tips | Data If we need to get information about the rows by triggering the event, we can do it with a script, and the following is the code that clicks the data row to get the line information:
function db (Index)
{
var str = new 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