Data | database
Now most C # connection databases will be SQL Server. However, the connection and operation of some old database files is not very familiar.Today there is this problem, to the FoxPro generated DBF file database operation.I have been
Programming | network
1. Explanation of regular expression ]+)" "?> (. +) The meaning of each part of the representative.
"Answer" this regular expression is used to match a string that is similar to the Sohu news in the source file, and each
function | static
Static constructors are a new feature of C # that seems to be rarely used. However, when we want to initialize some static variables, we need to use it. This constructor belongs to the class, not to where the instance belongs,
And what about vb.net?
In the view of many real developers, VB is like a toy language, from a certain point of view, it is true. So far, VB is far more than the two or three weaknesses we know. But VB.net is really as powerful as C #. NET
Error | show | Original ASP program error, error tip is not very clear understand, let a person touch the mind, use the following method to see if there is no help (this method is currently only suitable for errors outside the ADO error)
Step one,
Program/*
* Programming Language: visualstudio.netc# (BETA2)
* Author: Dee Bo
* Function: Call Windows Notepad program with C # program to edit a
* A text file named Test.txt.
*
* System.Diagnostics.Process.Start (Info) throughout the program
* is
Active|activex| Control
In my last blog, I have implemented a most basic ActiveX control. Of course, the task we have written has not yet been completed. First of all, we first try to implement and JS interactive capabilities.
We add the ShowMessage
DataGrid C # DataGrid using Tip (1)
Keywords: C # DataGrid
We sometimes encounter this problem when using the DataGrid:
Suppose the DataGrid is bound to a list of people. The data field of one of the bound columns is isteacher if the teacher's
Function
We used to know in C + + The concept of a function overload in C + +, now in asp.net C # we can still use the function overloadConcepts and Definitions:Let's say we have two functions defined in the program: String Test (String str1) and
Program | timing
Every night back to the bedroom, and sometimes still want to use the laboratory machine download upload something, but if the machine has been open, will reduce life. So write an automatic shutdown program, nearly midnight every day
The DataGrid writes WinForm procedure, unavoidably must use the DataGrid, naturally also needs to set the column type Ah, the title and so on!
But often the list of headings does not respond, likes and dislikes!
These days to do a program, their own
Stored Procedures
Why do ① use stored procedures?Because it executes faster than SQL statements.
What is the ② stored procedure?With a bunch of SQL statements, you can also execute an SQL statement based on a condition. (Ax is writing this article)
③
In C #, parameters can be passed either by value or by reference. Passing parameters by reference allows function members (methods, properties, indexers, operators, and constructors) to change the value of the parameter and maintain the change. To
It's not difficult to see this problem, at the beginning, I think so, but at present, I do not have on the resources on hand to introduce vertical display text, online search data only found a useful, but to achieve more trouble, need to coordinate
Regular
For many years, many programming languages and tools have included support for regular expressions. NET base Class library contains a namespace and a series of classes that can give full play to the power of regular expressions, and they are
Client
System.IO.Stream iStream = null;
Buffer to read 10K bytes in chunk:byte[] buffer = new byte[10000];
Length of the file:int length;
Total bytes to read:Long dataToRead;
Identify the file to download including its path.string filepath =
Overwrite of class in C#.net (OverRide)
public class MyBase... {Public virtual string Meth1 ()... {return "Mybase-meth1";}Public virtual string Meth2 ()... {return "Mybase-meth2";}Public virtual string Meth3 ()... {return "Mybase-meth3";}}
class
Control
Step One: Right-click on the toolbar in C #, and on the right-click menu select the option, as shown below
Step two: In the COM component, select the control you want (this is exactly the same as in VB)
At this point, COM controls and C #
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