Obtains all dates of the month based on the year-month.

/// /// based on the year-month, get all the dates of this month /// /// year /// month /// Public static arraylist getmonth (INT year, int month) {arraylist arr = new arraylist (); var first = new datetime (year, month, 1); var last = new

Verify the Excel version of the Local Machine

/// /// version of the installed Excel file. If the value 0 is not installed, multiple Excel files are installed. If the value is greater than 1, multiple Excel files are installed. /// /// Public static list excelversion () {list List = new

I also designed the mode -- 17. State

The State mode encapsulates various states into different classes. The implementation of the context class is not the same as that of strategy, although the principle is the same: public class context{Private State statea, Stateb, State;Public

I also designed the mode-18. Observer

The fascinating aspect of the observer mode is that it implements the. NET event mechanism, which makes it brilliant in the OO design. Definition: The Observer mode defines a one-to-many dependency, allowing multiple observer objects to listen to a

Comments on the eternal path of Architecture

Http://book.csdn.net/bookfiles/103/1001038134.shtml Design Patterns originated from architecture and anthropology Http://blog.csdn.net/sanlongcai/archive/2008/01/02/2010677.aspx Let's talk about the content arrangement and overall thinking in the

Release the gamehall 2.0 B test version source code.

Code download: http://files.cnblogs.com/Jax/GamePlatform.rar DB download: Because at home dial-up Internet access, unable to upload 7 m files, so give the generated file (including data), as follows: http://www.cnblogs.com/Jax/archive/2009/03/07/140

Criticize Code that has been written for five years without understanding of interfaces, reflection, delegation, and design patterns (Technical)

Original article address:I have been writing code for five years without understanding of interfaces, reflection, delegation, and design patterns-for beginners (talking about beauty generators without talking about code generators) There are three

How to perform unittest In the MVP Model

After writing a UT of the project, the following are some of the new ones involved in UT, which is not the same as the previous ut: 1. There are no methods in the model to upgrade to the viewmodel level. 2. The MessageBox is encapsulated into the

There will be a TCP problem with xiaotie

Xiaotie, you see the two sentences marked in red. This means that once the line is dropped, the server will immediately know and trigger the disconnect event.  Code Code highlighting produced by Actipro CodeHighlighter

For help, in a WCF-based chat room, the disconnected event cannot be notified to the server after the user is offline illegally.

This is a simple chat room developed by me using WPF, WCF, WF, and LINQ as a demo of the game hall. Code download: http://files.cnblogs.com/Jax/TestWCFWPF.rar I encountered some difficult issues in the WCF section. I am using tcpbinding + duplex +

Prepare to upgrade the game hall of the bag Edition

Upgrade ideas: Use WPF as the client and wnform as the server. Using WCF for network communication, TCP scoket model is no longer used to Implement UDP Punching Technology. Use WF to separate business logic. Use LINQ to operate the database. At

Historical Thinking (1)

There is a novel saying that only 0.3 million people would welcome the enemy if they intrude into the enemy by 0.1 million. As a result, the coach used 20 thousand people as bait, directed the enemy to the estuary, and then opened the blocked

Five joint statements of "blog garden essence set"

Bags and Dudu held a meeting at a hotel in Pudong, Shanghai on the evening of June 14. They held extensive, serious, and frank discussions on the "blog garden Collection" and other issues of interest to both parties, finally, five consensus are

[QT] converts the Application List to in qt4.6.

Turn the Application List to meet my needs Reject the 1234 icon of the Application List for 360 ° rotation. PS: the recording effect is very slow, the frame effect is very poor, and the actual effect is very smooth. Please make the most of your

Byte type operation

/// /// operation on the byte type /// public class bytes {/// // converts the byte type to the string type output //// /// byte /// returns the byte value of the string type public static string getstr (byte [] bytearr) {string STR = "";

Datatable paging code

/// /// able paging // /// datatable /// page index, note: start from 1 /// size of each page /// split the page's datatable data 10 public static datatable getpagedtable (datatable DT, int pageindex, int pagesize) {If (pageindex = 0)

Convert HTML content to plain text content (HTML, text conversion)

/// /// convert the plain text content to HTML content /// /// plain text content /// converted HTML content Public static string tohtml (string text) {return RegEx. replace (RegEx. replace (RegEx. replace (RegEx. replace (RegEx. replace ("" +

Adjust the division of labor according to the number of articles in SQL statistics

I roughly used SQL to classify 83300 sets. Except for the 30 thousand sets which are not classified for the time being, the distribution of the remaining 50 thousand sets is as follows: based on the workload and personal time, the responsibilities

Getting started with jquery UI

All results: Basic mouse Interaction: Drag and dropping, sorting, selecting, and resizing) Various Interactive effects: Accordions, date pickers, dialogs, and slide bar (Ssorers), table sorters, tab (tabs)Magnifiers and shadow) Part 1: Mouse

Lodop Web Printing

/Files/jcomet/webprint system .rar Web page printing control lodop (v4.0) Instructions and Samples LodopIs a professional web printing control, the type is ActiveX plug-in, it can be used to crop the output

Total Pages: 64722 1 .... 55295 55296 55297 55298 55299 .... 64722 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.