1. Open a new window and transfer the parameters:
Transfer parameters:
Response.Write ("")
Receive parameters:
String a = Request.QueryString ("id"); String B = Request.QueryString ("Id1");
2. Add a dialog box for the button
BUTTON1.ATTRIBUTES.ADD
Recently saw Beginning C # Web applications Wtith Visual Studio. Net. I feel this book is good in some detail, special notes, for the latter to provide some of the things that may be useful. Let's write some of them today and finish them correctly
The following is a general MVC Route
Config. Routes.maphttproute ( name: "Defaultapi", routetemplate: "Api/{controller}/{id}", defaults:new {id = Routeparameter.optional}, );
It is cumbersome to use conventional convention
Preface:
The methods in C # are often used in C # programming, so what is a method and how does it work? Summing up here, I hope you can point out my shortcomings.
1 What is a method
method is a mechanism for reusing a bunch of code in C #. The
This article mainly introduces C + + and-= in-depth research, this article in-depth study of + = and-= in the implementation of what has been done, deepen the understanding and use of C # delegation, the need for friends can refer to the next
Write
This article describes a detailed description of the methods in C #. Need a friend to reference under
1. Let the method return multiple parameters
1.1 Defining variables to save results in the method body
The code is as follows:
Using System; Using
This article mainly introduces C # loading interface of common methods, involving the operation of the form, very practical value, the need for friends can refer to the following
The examples in this article describe common methods for loading
How to use a folder under a certain path and a folder under a certain path
/*###################################### ######################################## ######################################## ######################################## ###########
Custom Random Number Generation (not repeated within the same time), random number at the same time
Private static char [] constant = {'0', '1', '2', '3', '4', '5', '6', '7 ', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'h ', 'I', 'J', 'k', 'l',
Lambda expressions, lambda expressions
1. A Lambda expression is an anonymous function. Its essence is actually a function. Therefore, any Lambda expression can be implemented or replaced by a common function in other ways.
2. Lambda expression
C # asynchronous programming,
With asynchronous programming, method calls are run in the background (usually with the help of online processes and tasks) and do not block the call thread.Asynchronous programming has three modes: asynchronous mode,
C # Static,Background
Static Source
When writing a class, sometimes a member in the class needs to be unique, that is, to maintain only one State for all objects. For example, if we create personal information, we are all Chinese, but we cannot
Visual Studio (VS) F12 to view the DLL source code, studiof12Preface
When I debug a function in VS, I suddenly wondered "can I use VS F12 (to definition) to view the implementation of the current function in this dll (source code ), instead of
Object-Oriented Programming principles
1. Single Responsibility Principle (the principle of clear object responsibilities)
Requirement: a single object can only do one thing and must be focused. There are many reasons for too many responsibilities
C # MulticolorWin color folder description,
This software (MulticolorWin) is a weak requirement.
This is mainly because:
1. Previously, Windows 7 was usedColor folder,No more
2. Organize the WPF by yourself. Winfrom or BS has been developed for
C # type conversion,
I. Overview of common types:
Bool-> System. Boolean (Boolean type, its value is true or false)Char-> System. Char (Bytes type, occupies two bytes, indicating 1 Unicode character)Byte-> System. Byte (byte, which occupies 1 Byte,
C # value type and reference type,
Reference Type: always allocated from managed heap
Class, interface, delegate
System. Object, System. String, List, Decoder, etc.
Value Type: generally distributed on the thread stack (Exceptions: Elements in the
C # Delegate,
C # graphic tutorial, version 4, chapter 2, delegation, learning notes
It can be considered that the delegate is an object that holds one or more methods.
However, unlike a typical object, a delegate can execute the delegate. In this
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.