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.

Modify the webpage encoding method in Asp.net

Currently, the page encoding methods are gb2312 and UTF-8. In Asp.net, if you want to modify the encoding of the output page, you can modify the following configuration information in Web. config: If you want to change the encoding to gb2312,

[ASP. NET]: An Alternative authentication source (LDAP verification, Windows verification ...)

  Preface: This document describes how to use a self-made CLK. Web library to implement ASP. NET convertible source verification.The so-called alternative verification means different requirements can be met. Use ad to authenticate users, dB to

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

Asp.net parameterized fuzzy query

As we all know, the SQL statement is soy sauce:   Normal: Select * from [user] Where username like '% admin %' Parameterization: Select * from [user] Where username like @ username   In this way, records including admin keywords are found. This is a

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.

Debugging experience in releasing Crystal Reports under Asp.net

At the end of last year, I had less work. Learn something. Use grid ++ as a report tool for the previous project. The main reason is that debugging takes a long time for invoicing. In fact, it is still the reason for the printer. The length of paper

ASP: Wizard Application

Errormessage = "cannot be blank! "> contains . can only contain . can contain multiple steps, that is, the steps of a specific process.

[ASP. NET]: it can be used to verify the source (DB verification establishment and extraction)

  Preface: Previous Article: [ASP. NET]: Alternative authentication source (LDAP verification, Windows verification ...)This section describes how to use a self-made CLK. Web library to implement ASP. NET convertible authentication sources.The

[ASP. net mvc] enables html. renderaction to support Lamda expressions

Today, HTML. renderaction is used in ASP. net mvc Code. The Code is as follows: @{Html.RenderAction("RecentNews")} It is uncomfortable to specify the action name using a string: 1. The input cannot be intelligently sensed; 2. The error message

Total Pages: 1800 1 .... 1629 1630 1631 1632 1633 .... 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.