asp+ version of the simple Message board production (i)
Source: Internet
Author: User
asp+ version of the simple Message board production (i)
/*
Tofu production, are fine
Http://www.asp888.net Tofu Technology Station
If reproduced, please retain the copyright information
*/
Objective:
As the saying goes, it is better to write a book than to look at the thousand times, indeed, a lot of purely theoretical things, see more, just have a simple understanding, in fact, in the process of specific procedures, will certainly encounter a lot of problems have been trying to write to everyone what the program, but the tofu recently particularly busy, the end of the year, everything to settle, Plus I have to find ways to write some articles to dedicate to everyone, and finally out of an afternoon, to do a program like this, the result forgot to close oicq, a lot of netizens have no time to reply, here to jspfuns and blue to express an apology.
Preparatory work before the program begins:
The first thing to consider is how to set up a connection string for SQL Server in a place where all programs can be accessed, because I am going all out to do a current http://www.asp888.net aspx version of the site, if only for this message version alone
Make a conn connection string, rather too ... , in asp+ Ms plagiarism some of the concepts and practices of JSP, in the JSP has Config.xml file asp+ config.web put this file in the message version of the virtual directory, the connection string here, please see my connection string
<configuration>
<appsettings>
<add key= "Conn" value= "server=localhost;uid=sa;pwd=;D Atabase=doufu"/>
</appsettings>
</configuration>
Well, ready to do a good job, ready to start to do the message version of the input section, began to want to use purely VS7 Web Forms function, and later found that some of the actual use of inconvenient, so still use some traditional methods and Web forms in combination, but so VS7 IntelliSense function can not be used, good pity. The contents of Default.aspx are as follows
<%@ Page language= "C #"%>
<HTML><HEAD>
<meta name= "generator" content= "Microsoft Visual Studio 7.0" >
<meta name= "Code_language" content= "C #" ></HEAD>
<body>
<a href= "http://www.asp888.net" > Tofu Technology Station </a> family dedication
<form method= "POST" action= "doliuyan.aspx" runat= "Server" >
<a id= "HyperLink1" title= "Click here to see all messages" href= "showmsg.aspx" style= "background-color:antiquewhite;border-style:d otted; " > View all Messages </a></p>
</form>
</body></HTML>
Oh, this page I used to test the Web form so I got some things, hehe:
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