Asp.net online Word documents can be saved to the server

Note: You must have the write permission for the server-side Word documents you want to open. To enable IIS, the WebDAV in the Web service extension is allowed. Msdn: http://msdn2.microsoft.com/en-us/library/ms454230.aspx Principle: Create an

Asp.net FCKeditor custom non-empty Verification

It must be submitted twice to pass. The solution is to disable the client script verification function of the requiredfieldvalidator control. Verify on the server only. CopyCode The Code is as follows: Today, I found a new solution when searching

Asp.net selects Excel files and uses the DOS command to copy files in batches

1. Select an Excel file CopyCodeThe Code is as follows: openfiledialog filedialog = new openfiledialog (); // Filedialog. initialdirectory = "d :\\"; Filedialog. Title = "select file "; // Filedialog. Filter = "XML files (*. XML) | *. xml ";

A simple solution for Asp.net to execute tasks at specific time points

For example, a report is sent by email at every day. The first thing that comes to mind here is to use the global. asax file to implement the content of the following global file. CopyCode The Code is as follows:

Summary of data transfer methods between ASP. NET pages

0. Introduction The web page is stateless, and the server considers each request to come from different users. Therefore, the status of the variable is not retained between consecutive requests to the same page or when the page jumps. ASP. when

Asp.net dropdownlist three-level linkage drop-down menu implementation code

CopyCode The Code is as follows: if (! Ispostback) { // List of level-1 Categories This. dropdownlist1.datasource = DSBB. selectsubjct1 (); This. dropdownlist1.datatextfield = "cname "; This. dropdownlist1.datavaluefield = "cCode "; This.

Implementation Code of Asp.net (C #) File Download

CopyCode The Code is as follows: using system; Using system. Data; Using system. configuration; Using system. Web; Using system. Web. Security; Using system. Web. UI; Using system. Web. UI. webcontrols; Using system. Web. UI. webcontrols.

ASP automatic collection implementation code

The main advantage is that you do not need to manually add a large amount of information. You can specify the interception of a certain station information for batch input to save time and effort. Simple ASP thieves Program The difference is that

Asp.net page text box prompt jscode (upgraded version)

Originally prepared to be directly modified in the previous article, but the editing function is too poor, open a bunch of HTML Code The space "& nbsp" is dazzling, so I have to open another article. Upgrade Description: You have added settings

Two Problems and Solutions for export the gridview in Asp.net

For the content exported by the gridview Code It is roughly as follows: Response. Clear (); Response. Buffer = true; Response. charset = "gb2312 "; Response. appendheader ("content-disposition", "attachment; filename =" + filename + ". xls

Asp.net data access layer Stored Procedure paging statement

Therefore, it is best to use the Stored Procedure for paging at the data access layer. the following uses the employee table in the pubs database as an example to store data paging. You can refer to it to create your own stored procedure based on

Server push of Asp.net)

What should I do if I want to maintain the connection between the server and the browser for a long time? Persistent connection technology is not a new technology. Using IFRAME as a method to hide frames pointing to long request pages has already

ASP highlight case-insensitive keywords

For example, for text abcabcabcabcabcabcabca, the keyword BC, there are 6 matching items in case of case insensitive. Abcabcabcabcabcabcabca is displayed on the webpage. Many people think of the replace function. Prototype: Replace (string, find,

Asp.net uses httpmodule to prevent SQL Injection

1. Create a class to implement the ihttpmodule Interface Code Copy code The Code is as follows: public class sqlhttpmodule: ihttpmodule { Public void dispose () { } Public void Init (httpapplication context) { Context. acquirerequeststate + =

Asp.net implements three methods for accumulating access to static pages

Static Page statichtml.html CopyCode The Code is as follows: several methods for collecting dynamic page access volume This is displayed in the layer add page addnumber. aspx addnumber. aspx. CS Code copy Code the code is as

How to add client JS events to controls in Asp.net (C #)

It can also be implemented on the server side Using ajax without refreshing the page. But I think there are more direct and simpler methods that can be implemented with a JS event. However, the dropdownlist does not include button and other

Asp.net generates the thumbnail code

CopyCode The Code is as follows: using system; Using system. Data; Using system. configuration; Using system. Web; Using system. Web. Security; Using system. Web. UI; Using system. Web. UI. webcontrols; Using system. Web. UI. webcontrols.

Code for generating static pages and pagination using Asp. NET

1. The static template page template.html mainly defines some special characters for replacement. Copy codeThe Code is as follows: Title Title Browse Time Content Pager View more comments 2. NewsAdd. aspx is a

Asp.net automatically adds parameters to the Url address through HttpModule

However, the mobile client does not support transferring values through sessions and cookies. It is too difficult to assign values to pages and then transfer values through other methods. In addition, it is not easy to maintain and error-prone to

Asp.net Repeater displays parent and child table data without blinking

As follows: The source code is as follows: Copy codeThe Code is as follows: using System; Using System. Data; Using System. Configuration; Using System. Collections; Using System. Web; Using System. Web. Security; Using System. Web. UI; Using

Total Pages: 1800 1 .... 1035 1036 1037 1038 1039 .... 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.