ASP. NET FormsAuthentication

  In ASP. NET applications, FormsAuthentication is almost the standard, but FormsAuthentication is designed without considering that the login program is not on the same site as the current program. In this scenario, the most basic requirement is to

Back to Asp.net series-basics (Part 5)

  Generic is a new function in the C # language and Common Language Runtime Library (CLR) of version 2.0. Generics introduce the concept of type parameters. NET Framework, type parameters make it possible to design the following classes and Methods:

Painting and animation in WPF (3)

1. rectangle A rectangle consists of strokes (edges) and fills. When the Stroke attribute is set to Line, the Data Type of the Fill attribute is Brush. A Brush is an abstract class. Therefore, we cannot assign a value to an instance of the Brush

What is the difference between files suffixed with ashx and axd?

In fact, the extension ashx is basically the same as axd. It is used to write web handler and can be used to call the IHttpHandler class. the control parsing and page processing process of the aspx page.The only difference is that the axd extension

ASP. NET Verification Code

Display the verification code interface:Front-end:Verification Code: & Nbsp; NavigateUrl = "~ /Default. aspx "> cannot see the change Picture Background:Using System;Using System. Collections. Generic;Using System. Linq;Using System. Web;Using

How to delete a checkbox in ASP. NET Gridview (two methods)

Method 1:Background code:Protected void btn_delete_Click (object sender, EventArgs e){For (int I = 0; I {Int id = Convert. ToInt32 (this. GridView1.DataKeys [I]. Value );If (this. GridView1.Rows [I]. Cells [0]. FindControl ("CheckBox1") as CheckBox).

About resource files

About resource filesIn real life, some exe or dll files must depend on other files for normal operation. If you copy the file directly to the client, then, it is not necessarily a good solution for the program to use relative paths to read (because

ASP.net achieves two-Table synchronization scaling without deformation

There is a table in the project that needs to display data, especially in. The data department of the table needs to scroll on this page, but the title does not move. The implementation is very simple. Two table controls are combined to display the

Button events on the master page

To solve this problem, first understand one thing. masterpage is just a container that will load a lot of web pages, where the Div is placed, and try to let masterpage know. For example, the P1.aspx page contains a Div id of Div1, and P2.aspx also

Obtain logon IP Address

View Code1 /// 2 // obtain the logon IP Address3 /// 4 /// 5 private string GetIP ()6 {7 string l_ret = string. Empty;8 if (! String. IsNullOrEmpty (System. Web. HttpContext. Current. Request. ServerVariables ["HTTP_VIA"])9 l_ret = Convert.

ASP. net mvc adds a RadioButtonList Extension Method for HtmlHelper

In the previous http://www.bkjia.com/kf/201203/123222.html article, we simplified the binding to DropDownList (Single-Line-Select) and ListBox (Multiple-Line-Select) by extending HtmlHelper, and separately maintain the list of data sources. Now we

Delegation and events of ASP. NET Learning Series-server-side events (II)

Previous: http://www.bkjia.com/kf/201203/122860.htmlReading directory I. ASP. NET window event processing Ii. Delegated event processing mode Iii. Heavy Load event processing mode I. ASP. NET window event processing Event-driven is the core of

Attribute in. Net

. Net has Attribute and Property, and Chinese translation is an Attribute, but they are very different. Attribute is often called a feature to distinguish.   Role of Attribute: Attribute is similar to a label, and can be labeled for classes,

Check box for the DevExpress control TreeList

To display the check box before the node, you must modify the attribute OptionsView-> ShowCheckBoxes = True. The rules for the subnode and parent node of the check box are as follows: 1. When a node is selected, all the child nodes of the node are

Garbled characters occur in ajax data transmission in asp.net.

In asp.net, garbled characters may occur when data is transmitted to the aspx page in ajax format. The following solutions are provided: Js: XmlHttp. open ("POST", "test. aspx", false );XmlHttp. setRequestHeader ("Content-Type",

Asp.net repeat nesting

Bind to the Parent Table1. Start Microsoft Visual Studio. NET.2. On the File menu, point to New, and then click Project.3. Click Visual C # Projects under Project Types, and then click ASP. NET Web Application underTemplates.4. in the Location box,

Use delegate to implement Event Response in user-defined controls

Assume that the user control (UserControl. ascx) contains the button control AButton. If you want to press the AButton button, the page containing the user control can receive the event. Therefore, the user control and Page code are processed

How to Improve the Performance of ASP. Net Applications

Writing an asp.net web application becomes very simple, and many programmers do not want to take the time to build an application with good performance. This article will discuss the Top Ten ways to improve the performance of web applications. I

Control Development Learning notes (1) -- ToolboxData meaning

Create an ASP. NET Server Control Project. Visual Studio automatically generates the following code: Namespace WebControlLibrary{[DefaultProperty ("Text")][ToolboxData (" ")]Public class HelloWorld: WebControl{[Bindable (true)][Category ("Appearance"

A PetShop (Task001) in Sousse -- classic database connection

Source code: 13033480 group sharing Task 1: Classic database connection 1. Operation Step 1. Open the code file Default. aspx. cs and enter the following code in the Page_Load () function: [Csharp]Using System;Using System. Data; Using System. Data.

Total Pages: 1075 1 .... 1002 1003 1004 1005 1006 .... 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.