2. Database
After I made a little thing, I wanted to send it to the Internet. I used dynamic hosts and had no money to rent space. I thought that day, when we had money, we rented 2 Virtual Hosts and dual-Machine backup. You can see that your
How to encrypt pages in ASP. NET
This section describes ASP. NET's ability to encrypt view information. The page. registerrequiresviewstateencryption method registers the control as the control that requires view State encryption. If you want
I haven't written this series for a long time. I 've been busy with other things recently.
For advanced component topics, we will discuss some complicated things that are hard to implement.
I wrote a tornado thumbnail watermark component some time
Let's take a look at the response object. In fact, we have been using the write method of this object in the previous tutorial.
Here we use the response object to set the cookie.
?
Open VB6 and create an ActiveX dll project. Change project name
As a built-in ASP object, we finally learn server objects.
Server objects use HTML encoding, URL encoding, and webpage redirection and transmission.
?
Open VB6 and create an ActiveX dll project. Change project name to fcom and class name to
Start database operations.
Common component Encapsulation
1 .? Encapsulate the database connection information.
1> ???? Directly return the database connection string, for example, in the component
Public? Function? Datasource ()? As?
No matter what method, image, EXE, or RAR ====, you only need to change the suffix to ASP through other methods, but you need to insert a language in ASP:
Save.
Then, the local structure of the submission form, the content of the action points
Learning to use stored procedures is a must for ASP programmers. All large databases support stored procedures, such as Oracle and ms SQL. (However, MS Access is not supported. However, parameterized queries can be used in access ).Stored Procedures
1.First contact
Learning ASP is because I liked poetry and wanted to be a site for ancient poetry. At the beginning, I used static HTML for one page. Too much repetitive work. Now I heard about ASP, which can be used as a dynamic page. When the
Demo: http://goaler.xicp.net/RssReader.asp
RSS Resource: "onfocus = select ()> & nbsp; double-click the mouse to close the abstract. Only the title is displayed.If (Request ("rssfeed") = "") thenUrl = "/rss2.asp"ElseUrl = request ("rssfeed ")End
From: http://www.guoblog.com/blogview.asp? Logid = 202
Public Function valuesepr (byval rawstring as string, byval sepchar as string) as stringIf instr (1, rawstring, sepchar) <> 0 thenValuesepr = Microsoft. VisualBasic. Right (rawstring, Len
// Showdata. ASP [show the data] "" or request. form ("phone") Then sqlinsertcmd = "insert into Table1 (name, phone) values ('" _ & request. form ("name") & "','" & request. form ("phone") & "')" dataconnect. execute (sqlinsertcmd) end if
The example of ASP calling RFC has never been found. On the internet, Asp.net calls RFC,
I have no idea about ASP code, but the Code involved here is relatively simple.
Dim ologoncontrol
Dim obapicontrol
Dim oconn
Dim ocompanycode
Dim
VaR connstr = "" provider = sqloledb; Data Source = localhost; initial catalog = jiaojingdb; user id = sa; Password = 123456 ;"
VaR conn = server. Createobject ("ADODB. Connection"); // The purpose of defining Conn is to improve efficiency and close
ASP. NET is not used for winform such as Delphi, because the desktop program is for one user, while ASP. NET is for multiple users.
Therefore, when you write a variable before a method or function in a program class, although it is a full-page
Client sender/callback decryption
This article is excerpted from the book Ding Jie Niu: vertically cutting ASP. NET 3.5 controls and component development technology
For server control elements, such as ASP. net button standard server controls
Customize your own delegate and event parameter classes
This article is excerpted from the book Ding Jie Niu: vertically cutting ASP. NET 3.5 controls and component development technology
Generally, in actual development, when an event does not
When you use Asp.net to develop web pages, you will find that if you set a page, if it contains multiple buttons, and the page is very long.When you click "PostBack" after the button, the page is always displayed at the top, which is extremely
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