ASP database connection error access

There is always an error when I put a website written by ASP in my own win7. Or other errors | database connection error. Check the database parameter settings in the conn. asp file. Someone said they wanted to modify the Windows/temp permission.

Implement CSS menus recursively in Asp.net

There are various very beautiful CSS menus on the network, but most of them are static, and menu items are all written to the page, which is not very flexible, every time you want to modify the menu, you must modify the page. The following describes

ASP. NET 2.0 URL ing skills.

The following mappings are often performed in projects: Set Http://onewww.net/a.aspx? Name = llinzzi Map Http://onewww.net/llinzzi First, we need to solve two problems.The first is to support wildcard URL ing URL ing, which is a new feature of ASP.

Website-level exception capture in Asp.net

Recently, some independent modules have been used in a company's management system. In the implementation of these classes, errors directly throw an exception. I think this is our usual practice. However, the problem also arises because I did not

Javascript verifies the file type of the uploaded file in Asp.net

QuoteFile: MAPSEmailcontact:

ASP timeout Processing

ASP and MSSQL are used for database applications all the time. Generally, there is no problem. However, in some projects, the data volume will be large. As the data volume increases, a timeout problem may occur. I have read a lot of information, and

Asp.net reads XML and returns the ilist set.

XML file:View code basic service 100 30 1 value-added information service 100 30 2 telephone appointment delegate service 150 20 3 Generate object classes based on XML files:View code [Serializable] public

Asp.net web scheduled task execution

In the Web site, you need to execute a task every one minute and keep the scheduled execution status. You can use the following method: 1. application_start in global. asax occurs when the website is requested for the first time (IIS closes or

Introduction to the render method in ASP. NET

Runyl blog park I want to comment (1) font size: T | T The control. Render method sends the server control content to the provided htmltextwriter object, which is written in the content that will be presented on the client. This article mainly

Use ASP netpager for efficient Paging

I am studying LINQ recently. I think it is really very simple to see it on the page, but I am worried that I will mix up my knowledge when I learned it. I don't know if everyone is the same as me when I first learned it, because some of his

Asp.net error page

You only need to add the following code in Web. config.   You can write code in error. aspx to write the error information to the log file.  Using system; Using system. Web; Using system. IO; Namespace gridview warehouse receiving ticket

Differences and usage of HTML. Partial, renderpartial, action, and renderaction in Asp.net MVC

Partial and renderpartial:The two are of the same nature. They only mean to insert one view into each view, but the return value is a little different.An object (mvchtmlstring) returned by partial, returns a string, returns a bunch of HTML, and

Asp.net scheduled task execution (timer improvement)

Source code: Click to download the source code Run the code in application_start of Global. asax. A problem occurs here, that is, you cannot use httpcontext. Current. server. mappath ("~ /Xxx.txt "); an error is returned: NULL reference! Then

Asp.net dynamically creates nodes for the Treeview

Although Treeview is very convenient, it has to be said that the number of viewstates generated by it is also pointed out... so please apply it as appropriate. First, you must have a site map (which must be placed in the root directory of the UI

[JavaScript] Using IFRAME in ASP. NET to create a modal-like window

We often need to use modal windows in the Human-Computer Interaction of programs. However, in B/S development, this is not easy, although windows can also be used. showmodaldialog function implementation (see http://dotnet.aspx.cc/ShowDetail.aspx?

[ASP. NET] use C # To develop socket communication

The following example shows how to use the socket class to send data to the HTTP server and receive responses. [C #]Public String dosocketget (string server){// Sets up variables and a string to write to the serverEncoding ASCII = encoding. ASCII; /

[ASP. NET] The DataGrid mouse goes through the perception and click a row to bring up a window

It is difficult for many people to say that these lines of code actually exist. You only need to write the code in itemdatabound of datagrid1. Private void maid (Object sender, system. Web. UI. webcontrols. datagriditemeventargs E){If (E. Item.

Post [ASP. NET] Web service applications based on Forms authentication

ASP. in the. NET program, forms-based authentication is often used, the most common method is custom authentication based on the SOAP header. If we compare the two, it is clear that forms-based authentication is more convenient and easy to use. Can

Common skills for Asp.net Development

1.Open a new window and send parameters: Transfer Parameters: Response. Write (" ") Receiving parameters: String A = request. querystring ("ID "); String B = request. querystring ("id1 "); Comments: This method is suitable for the loose coupling

ASP. NET Cache Usage

A piece of code in the copied CS.Protected override void oninit (eventargs E) { List recentposts = cscache. Get ("homepagesearch-" + currentcscontext. User. rolekey) as list ; If (recentposts = NULL) { Searchquery query = new searchquery (); Query.

Total Pages: 1800 1 .... 1636 1637 1638 1639 1640 .... 1800 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.