ASP.net verification code technology (online collection)

Step 1: generate a verification codeAdd a ValidateCode. aspx pageThe code in ValidateCode. aspx. cs is as follows:Using System;Using System. Data;Using System. Configuration;Using System. Collections;Using System. Web;Using System. Web.

Access Excel workbooks in ASP. NET

SpreadSheet Contents: VB. NET Code----------------------------------------------Sub Page_Load (sender As Object, e As EventArgs)Dim myDataset As New DataSet ()'You can also use the Excel ODBC driver I believe-didn't try thoughDim strConn As String =

ASP.net's ACCESS data paging Solution

IT power in China, the latest and most comprehensive IT technology tutorialLatest 100 articles | 100 recommended articles | 100 topics | rankings | search | online API documentationFirst page | Program Development | operating system | software

Improve site performance with three caches of ASP. NET

ASP. NET provides three main forms of cache: page-level output cache, user control-level output cache (or segment cache), and cache API. The advantage of output cache and fragment cache is that it is very easy to implement. In most cases, it is

Use ASP. Net to obtain the MAC address of the client Nic

Using System. Text. RegularExpressions;Using System. Diagnostics;Public class test{Public test{}Public static string GetCustomerMac (string IP) // para IP is the client's IP{String dirResults = "";ProcessStartInfo psi = new ProcessStartInfo

A technique used to write the asp.net Forum

I recently wrote an asp.net forum, and the vb.net forum is basically finished ..I will share with you a method I used when writing code... although it is simple, it still has some reference value for beginners...As you know, to write a dynamic web

Change System Time & amp; in C # to be notified of system time change

1. Change System TimeC # System. the DateTime class encapsulates the date and time, which is convenient for time conversion and processing, but I have not found any member in it that can be used to modify the system time. Friends who have used VC

ObjectContext or nhib1_session in EF

When using various ORM frameworks, we will inevitably encounter such problems. ObjectContext has been released when we want to use delayed loading. Attach an object is notified that it cannot be referenced by multiple IEntityChangeTracker For

Json Ajax without refreshing pagination

Json Ajax without refreshing pagination In this article, I will go on to write a new page without refreshing the effect of reading data using json and binding with the page splitter.// Read data based on the current page Function BindCommentList

Asp.net is suitable for beginners to upload files.

Asp tutorial. net is suitable for beginners to upload files Today, I made a. aspx page for uploading images from a browser. Of course, after modification, I can also upload files in other formats. The following code is attached: -- Put a file upload

Simple Application of the repeater or DataList Control

1. Change the plain text content. If the sex field in the student information table in the database uses 0 and 1 to represent men and women, but we want to bind the repeat control to show that the gender is male or female instead of 0 or 1. Repeater

. Net to generate a thumbnail code

Find a. net code for generating thumbnails from a friend's blog. The effect is very good, so share it with you. ////// Generate a thumbnail////// Source image path (physical path)/// Thumbnail path (physical path)/// Thumbnail width/// Thumbnail

. Net does not refresh the new page to refresh the verification code js Implementation Method

In fact, a lot of friends say that ajax is actually not the case. We only need to use js to implement the verification code refresh and replacement function instead of refreshing the page. If you need it, you can refer to it. The purpose of

Asp.net uses cookies to automatically log on with the Remember password

This article describes how asp.net uses cookies to complete the code for remembering the automatic Password Logon function. It uses cookies to remember the user's logon information stored on the client. The next time it comes in, it will be KO. // --

Implementation Code of ListView template and binding in ASP. Net

Asp. net has a Table and a GridView space to display multiple pieces of data, and most of the data used to bind a dataset uses the GridView, but the template definition of the GridView is a little troublesome and I think it is not good in

Asp.net common page refresh code

This article introduces page refresh. It not only introduces how to implement page refresh in asp.net, but also introduces jsp and js to implement page refresh and framework refresh, if you need it, you can refer to. Let's take a look at the

Summary of common MVC problems in asp.net

This article has added a large number of solutions to common MVC problems. For more information, see. In MVC projects, when JQuery and $. Post are used to submit data, Chinese garbled characters are generated?Solution: Data Encoding during $. post,

Partial keywords in asp.net

If you have any need for the partial keyword in asp.net, please refer to it. The Division function is implemented by the c # compiler, And the CLR does not know anything about the distribution class. The partial local class is a new product of. net 2

Javascript dynamic generation of graphic upload control implementation code

When uploading files, you sometimes need to upload multiple images. here we need to dynamically generate the control for uploading images based on the user's actual situation. js is fully available here. STEP/Method ① Change the Form label in the

SQL Group By sorting in LINQ

An error in the previous project is that when you write a LinqTOSQL statement, first write the conditions, then sort them, and then group them. Naturally, the grouped data is sorted in order. Actually not. You need to sort the group again.

Total Pages: 1075 1 .... 888 889 890 891 892 .... 1075 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.