ASP displays complete error information

1. Confirm the "application" in IISProgramSelect "send detailed error information to the client" for "Script Error error information" in "configuration". This is selected by default. Website property page -- "main directory" tab -- "configuration"

Asp.net Remote resource acquisition

Obtain remote resource files through URLs   // Read the remote path URI u_requesturl = new uri (sourcefile); webrequest temp = webrequest. create (u_requesturl); webresponse mytemp = temp. getresponse (); sr = new streamreader (mytemp.

Notes when adding data cache dependencies to user controls in Asp.net

Aggregatecachedependency in system. Web. caching The cachepolicy. Dependency attribute may be assigned to the user control. The aggregatecachedependency class can contain many sqlcachedependency objects. Sqlcachedependency: New sqlcachedependency

Note: ASP. NET prevents multiple button submissions

  Add Usesubmitbehavior = "false" onclientclick = "This. Disabled = true;" two attributes can prevent multiple submissions   By the way, ask for a question. After this setting, the disabled attribute of the button1_click event becomes false,

Database Operations in ASP. NET (1) -- add, delete, and modify

Note: This article does not explain how to call up and display database data for the moment, because it involves many things, so we will explain it in detail. This article focuses on adding, deleting, and modifying databases. 1. Define oledbcommand

Asp url rewriting

As mentioned above, the pseudo-static asp url is also very easy to use. net. Let's share some good things! You can add QQ 282116460 if you don't understand it. The details are as follows: Install and configure ISAPI rewrite under IIS to implement

ASP. netf send mail

 When it comes to sending emails, I 'd like to mention SMTP first (Oh, you can skip this section !). SMTP is short for "Simple Mail Transfer Protocol", that is, Simple Mail transmission protocol. It is a set of specifications used to transmit mails

Asp.net: Two Methods for uploading files

1. Inner type (runat Server Mode) This method is currently used by most people. The event-driven method is used to upload files. Form and file field must be set to runat server. The Code is as follows: Void button1_click (Object source, eventargs e )

ASP. NET video playback code

  I found it online, but it is not bad. Many formats are supported. You only need to put a lable on the page, create a folder named movie for the video file, and add the code: protected void page_load (Object sender, eventargs e) {This. label1.text =

Asp.net star rating JS Function

star rating Mouseover = "rate (this, event)">

ASP. NET data binding Menu Control

Dynamically bind the menu control: public void BindMenu(Menu mn,MenuItem menu,string mainMenu,string sql) { MenuItem mitem = null; DB db = new DB(); DataSet ds = db.GetDataSet(sql, "table1");

Asp.net girdview export .csv format

/// /// Export to. CSV format/// /// gridview Control /// page /// file name Public static void importtocsv (system. Web. UI. webcontrols. gridview GV, system. Web. UI. Page, int [] displaycolumns, string filename){String defaultfilename = "input

Code for calling a stored procedure in Asp.net

After debugging,

Complete Asp.net version of ewebeditor v4.6 cracking, with control version

The ewebeditor v4.6 of Asp.net is completely cracked with background management.   Ewebeditor has been favored by many users for its simple calling, convenient use, and powerful functions. However, ewebeditor does not have a completely free version

Asp.net MVC learning diary 9 (jquer usage mode pop-up details)

Preparations: Http://nyromodal.googlecode.com/files/nyromodal-1.6.2.zip, download the jqueryplug-in this address 1. Import jquery. nyroModal-1.6.2.min.js and content/nyromodal.full.css 2. The product class and productrepository class are still

Asp.net MVC learning diary 12 (powerful mvccontrib, automatically generating HTML elements)

1. Renewal. (Pay attention to version issues) Of course nbuilder. dll is also required (if you don't know what it is, check the previous one or Google it, huh, huh) 2. Drag all the aspx pages under the inputbuildertemplates folder in mvccontrib to

Asp.net MVC learning diary thirteen (page navigation)

Preparation go to http://mvcsitemap.codeplex.com/download mvcsitemapprovider. dll 1. Add mvcsitemapprovider. DLL to the project reference. 2. In web. config, The system. Web Node Type = "mvcsitemapprovider. defaultsitemapprovider, mvcsitemapprovider"

Asp.net MVC learning diary 14 (verification submitted on the page)

First, let's see how MVC works. 1. Create a person class Public class person{[Displayname ("first name"), stringlength (10)]Public String firstname {Get; set ;}[Displayname ("middle name"), stringlength (50)]Public String middlename {Get; set

[Asp, JSP, Asp.net] File Upload Technology ~~

File Upload is a meaningful topic.I will discuss its principles, practical applications, and security design .. When a form is set to enctype = "multipart/form-Data" method = "Post, if the label is selected by the user. The browser will format the

Fix the gridview header in Asp.net

The following method is used to fix the gridview header during the project process. Autogeneratecolumns = "false" width = "800" showheader = "false" onrowdatabound = "gridview1_rowdatabound" datakeynames = "xtbh"> " + databinder. eval (container.

Total Pages: 1800 1 .... 1686 1687 1688 1689 1690 .... 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.