Use custom events (with parameters) in Asp.net)

// 1. first, define a parameter class Public partial class sayeventargs: eventargs { Public string username; Public string websiteurl; } //2. Define a delegatePublic Delegate VoidSayeventhandler (ObjectSender, sayeventargs

C #. Obtain the absolute path of the current application using ASP. NET.

Application. startuppath cannot be used as to system. Io. Directory. getcurrentdirectory, because the application Program If there is a current working directory, this working directory will change, not always the startup directory in the

Implementation of Brushless newest cascade in ASP. NET

Recently, I was working on a device Repair System for the school. Due to the limited level, I seldom used Ajax knowledge when I was working on projects. To achieve better results, I checked the relevant materials, refer to the online tutorial to

Use jquery ajax to change user passwords in ASP. NET

1. Create a database, right-click the project app_data, add a database, and create a userinfo table. The table contains two fields: username and password. 2. Create a new default. aspx page with a simple table layout,CodeAs follows: old

ASP. NET generally processes files and copies previous files, which cannot be debugged or accessed.

ASP. NET is used in the project to process files. Because some files have similar content, Therefore, you can directly copy the previous file and modify it. But the problem arises: copying the previous file cannot be debugged or accessed. No

Some advice to Asp.net MVC and jquery UI users

Happy Dragon Boat Festival, everyone. I haven't written a blog for a long time. It's been 1 month and now .... Sorry. Today, I would like to share some suggestions and experiences with developers who use Asp.net MVC. First, if you use Asp.net

ASP. NET uses jquery to automatically upload images

I remember that last year, I encountered a problem when I was uploading images. At that time, I also asked a question in the blog Garden (http://q.cnblogs.com/q/28119 ), finally, I chose uploadify to solve the problem at that time. When uploading

Solution for using relative paths in Asp.net User Controls --- image path (user control, image path), resolveurl

Author: Happy technology | Source: blog Park | 21:28:06 | read 144 The following content also requires relative paths when loading JS scripts when recently using user controls, Find the following solution on the Internet: My third-party

Advanced usage of Asp.net girdview

Today we will discuss the further usage of the gridview: Get cell data through row and column If we need to obtain the data of a cell in the gridview control, we can use the following ideas. First, in the selectedindexchanging event of

Asp.net paging Stored Procedure

  Queryadrecordforadmin queryadrecord = new queryadrecordforadmin{Adname = txttitle. value,Pageindex = aspnetpager1.currentpageindex,Pagesize = aspnetpager1.pagesize,Promotiontype = valueconverter. parse (droppromotiontype. selectedvalue

Summary of ASP. NET verification controls

  Today, we will mainly look at the usage of the validation controls in ASP. NET. As the name suggests, the verification control is used to verify the input format of the control on the page. To speed up the development of Asp.net websites,

Import and Export Standard Excel files in ASP. NET

The Import and Export Methods demonstrated in this Article do not use the Excel COM component, but use the original ASP. NET OleDb driver, which makes ASP.. NET applications support importing and exporting calibrated Excel files even if they are

ASP. net mvc permission management

ASP. net mvc provides AuthorizeAttribute to control the security of Controller actions. However, the role or user specified by this attribute is written in the code rather than in the configuration file, which is not flexible enough. In order to be

Asp.net mvc 3 RTM released!

Asp.net mvc 3 was released on January

Use ASP. NET MVC3 + EF + Jquery to create a text live broadcast system (2)

Achieve Logon This article simply implements the background login function, with no technical content First, add a LogOnViewModel class to the Model folder in the LiveText. WebUI project. The Code is as follows: Public class LogOnViewModel

[ASP. NET development] ASP. NET (MVC) three-layer architecture knowledge learning Summary

After using MVC for team development, I realized the convenience of object-oriented software development. When using MVC, the low coupling between layers makes the relationship between them very much, which reduces the degree of dependency between

ASP. NET Socket network programming

1. Socket related concepts (1) the original English meaning of Socket is "hole" or "Socket". As a process communication mechanism, the latter meaning is usually referred to as "Socket ", it is used to despise IP addresses and ports. It is a

ASP. NET advanced programming basics Article 3-ViewState

In the previous two articles, we first learned about ASP. NET. This blog explains the most common technologies we use when developing a system or website. For example, how to reasonably use ViewState, HTTP protocol, and ASP. NET. Let's have a good

Security Overview of ASP. net mvc applications (Advanced Programming)

Protecting the security of Web applications seems time-consuming. This must-do task cannot bring too much fun, but in order to avoid embarrassing security vulnerabilities, program security is usually not required. 1. ASP. NET Web Forms developers (1)

ASP. NET advanced programming basics 11th-WebForm and Page class members

This blog briefly introduces the concept of WebForm and the member information of the Page class. Therefore, this blog is just a simple description of the application before we get started, the following blog will start with the asp.net Server

Total Pages: 1800 1 .... 1149 1150 1151 1152 1153 .... 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.