C # How many WinForm MDI Form Control codes are written,
/// /// function: in the MDI program, set the main Form size to the display workspace size. /// /// main Form instance public static void SetMainFormSize (Form mainForm) {MainForm.
Another essential and free plug-in on VS2015: Refactoring Essentials, vs2015refactoring
(This article is also published in my public account "dotNET daily excellent article". Welcome to the QR code on the right to follow it .)
Note: Refactoring
[. Net Object-Oriented programming advanced] (16) Multithreading (1) Improve program performance using Multithreading, c object-oriented multi-threaded programming
[. Net Object-Oriented programming advanced] (16) Multithreading (I) improve program
Clean up the local session and clean up the session
Multiple pages have the following sessions, which may have been as follows:
Session["UId"] = 10;Session["UName"] = "test";Session["PicId"] = 10;Session["IsTed"] = false;
This is inconvenient to
Html. Partial and Html. RenderPartial in MVC, html. renderpartial
The Partial auxiliary method is used to render some views into strings. Note:You do not need to specify the path and file extension for the view, because the logic for locating some
. NET data type conversion method,. net data type
Using Newtonsoft. Json;Using Newtonsoft. Json. Converters;Using System. Web. Script. Serialization;
/// /// Convert string to dictionary type/// /// /// Public Dictionary Str2Dic (string
To solve the problem that the file or assembly 'webgrease' cannot be loaded, load WebGrease
If shared style codes are used in multiple views, you can move them to the CSS file. Today, Insus. NET provides an example.For example, ASP. net mvc image
Error: The type "System. Data. EntityState" cannot be implicitly converted to "System. Data. Entity. EntityState ",
Error: The type "System. Data. EntityState" cannot be implicitly converted to "System. Data. Entity. EntityState"
Cause 1:
Using
Value passing for Winform development, form for winform Development
Data transmission between Winform forms is a necessary technology for development. The following describes several typical value passing methods.
1. the constructor transfers values,
Used by DataReader, sqldatareader
1. Meaning of DataReader
Compared with DataSet, DataReader is an abstract class. Therefore, you cannot use DataReader DR = new DataReader () to construct a function to create an object. If you want to create a
. Net gets the Monday of the current week based on the input date (any day of the week can be extended),. net Monday
Idea: the weekly English name is obtained based on the DayOfWeek attribute of the DateTime class, and Monday is obtained through the
List is saved as an XML file, listxml
Today we will learn how to save the List as an XML file. This is because when developing dynamic websites, we need to generate XML files for some infrequently changed data so that the program can directly read
ThreadPool. QueueUserWorkItem performance problem, queueuserworkitem
Reference: http://blog.csdn.net/sq_zhuyi/article/details/6869661
In WEB development, in order to reduce the page wait time and improve the user experience, we usually put some
[Go to] WPF adds ToolTip and wpfdatagridtooltip to the DataGridTextColumn
Source Address: http://dongguojun.iteye.com/blog/1671963
I found that the ToolTipService. Tooltip setting of the DataGridTextColumn in WPF is not good. Of course, you can
ASP. NEt MVC5 -- add the HttpPost method to the list page ., Mvc5 -- httppost
We all know that the get method is mainly used to display data and retrieve data, which is not modified. This time I did a test to write a post method for the Index method.
In ASP. NET, the Application object is used to implement the simple online count statistics function. asp. netapplication
Note: I am reviewing ASP. NET recently. I will make some demo programs to help you better understand the situation and share
RDLC report printing and rdlc RePort Printing
If your report is displayed normally, the print icon under the RDLC toolbar is displayed:
If you click the button for the first time on the client, if the current operator does not have the
Summary of. NET Logical Layered Architecture,. net layered architecture
I. Basic Knowledge preparation:
1. layer principles:
(1) Each layer is called by the upper layer in interface mode.(2) The upper layer can only call the lower layer.(3)
C # convert DataTable to List ,
When developing a website using a three-tier architecture, you want to convert the DataTable object to a List object, so you can find the information on the Internet and summarize a convenient method to implement
Add, delete, modify, and query of silverlight RIA Service for help, silverlightria
Code used to query silverlight (initialize data using the RIA Service:ThisDomainContext users = new ThisDomainContext ();Public void LoadData (){EntityQuery query =
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