Use a regular expression to replace a simple formula

// Replace computing with regular expressions // Inspection If (Common. getmatchstr ( This . Sumitem, @" \ W + ([+ \-*/] \ W + )* " ). Length ! = Sumitem. length) Return   - 1 ; String OP = Common.

Add automatically running JS Code to the server

It is not a complicated task, but a serverCodeTo control the running of a JS function during client loading. But it took a long morning, the first thing was to use Page. clientscript. registerclientscriptblock (typeof (string), "fomrjs", JS );

How to dynamically add controls to an Excel Sheet

Address: http://blog.csdn.net/northwolves/archive/2005/11/07/524176.aspx In Excel sheet, how do I add a drop-down box or text box and a command button? The following method can be used:Private sub worksheet_selectionchange (byval target as

List generic class

Using System; Using System. Collections. Generic; Public   Class Example{ Public   Static   Void Main (){List String > Dinosaurs =   New List String > (); Console. writeline ("\ Ncapacity: {0}", Dinosaurs. capacity );

I have completed the OSO virus today.

This USB flash drive virus is very annoying. It is always impossible to break the root with an ice knife. I found an article todayArticleIt used to put many security-related applications in the registry.ProgramThe debugger of is associated with

Speed Test for obtaining operations on elements in Mapx

The most common operation is to obtain an element in a layer. If you need to obtain the elements based on a single attribute (no duplicates), you will find that the speed varies greatly. Traversal is the slowest. It is slow to use the layer

Anti-Virus in winpe

Intuitively, winpe is better at anti-virus, but it has never been downloaded for trial use. Last night, I finally downloaded one of them: "old 9 winpe old Mao Tao modified yyq572 optimization and enhanced zuojiang Dumu cliff (2008.02.26) YY". For

VB displays the true color icon

I was there n years ago. I forgot. I just got it back. In fact, VB only supports up to 256 colors, and the true color icon requires more complicated settings. The color base of 256 is enough. However, many icons found are very ugly in VB, and the

Focus is the secret of power-attention distribution

It seems like Napoleon said that focus is the secret of power. I think it is, but it seems that it is always impossible to do so, it is difficult to concentrate on one thing. Today, I am going to be more clear about this section. My attention is

VB implements translucent or partial transparent forms

Windows has been out for more than N years. Let's first introduce the Unique API of windows !! Animatewindow is a new function that produces animation effects when a window is opened or closed. Because it is a new function, it cannot be found in API

Liu cixin "three bodies"

I haven't watched sci-fi for a long time. Yesterday I accidentally met a link of Liu cixin's three bodies. I tried my best to find an electronic version. The result is basically a one-breath reading. In terms of readability, it should not be said,

Note when using subqueries

In a query: UpdateSet a. SCTS = B. V1, A. ycyl = B. V2, A. ycsl = B. v3From kfdbsyy,(Select f_wellnumber, count (*) as V1, sum (f_fule) as V2,Sum (f_totalliquid-f_fule) as v3From (select *From cy_wellrecordWhere f_reporttime like '2017-2004

SQL2000 discusses the differences between executenonquery and executescalar. The number of rows that return database data is usually intcount = (INT) cmd. executescalar ()

Public int getrscount (string table_name) { String strsql; Int intcount; Open (); Strsql = "select count (*) from" + TMK; Sqlcommand cmd = new sqlcommand (strsql, CN ); Statement 1) intcount = (INT) cmd. executescalar (); // breakpoint Statement 2) /

A good online storage

I don't use a lot of online storage. I have used some of them, and they have excellent stability and speed. They are Netease's online storage, but they are attached to the mailbox, which is not easy to share. I have been using ys168 for many years,

Integrate the automatic notification form into the class

A notification window is automatically displayed in the lower right corner of IE. The window disappears several seconds later, this is now a common function implemented by JS Code . However, I hope to integrate this function to simplify it as much

Edge processing of large image backgrounds

If the background to be processed is a complete large image, processing the edge is a problem. I don't know what it looks like. If it is put directly as it is, it is not very formal. The most direct idea is to blur the edge until it is white.

Add a custom toolbar for FCKeditor

FCKeditor is a powerful open-source online editor, so it is very suitable for people who have nothing to do with it ~~~ Haha. Even if a product has powerful functions, it cannot meet the needs of all users. Of course, FCKeditor is no exception.

Implement the timer of the Win32 console Program

Using a timer in the console cannot be a simple settimer. This settimer method in the console is a little troublesome and requires you to write messages cyclically to deliver wm_timer messages. In fact, you can use the multimedia clock in the

XML file operation guide

From: http://bbs.ibox.com.cn/Message/2104/2103812.html 1. xml Introduction The full name of XML is eXtensible Markup Language (Extensible Markup Language). Its syntax is similar to HTML, and tags are used to describe data. HTML labels are fixed.

Access to FTP in VPC

Recently, VPC has been used for debugging the installation package, which is very easy to use. However, there has been a problem recently, FTP is always unable to work normally, after a long and painful tracking and locating, find the cause: 40: 47.

Total Pages: 64722 1 .... 26988 26989 26990 26991 26992 .... 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.