. NET FrameworkA considerable infrastructure is required to make the creation of XML Web Services transparent to developers and users. The Microsoft. NET Framework, which is closely integrated with the Windows. NET Server Series, provides such
I often hear this question: "should I use the DataReader class or the DataSet class in ASP. NET Web applications ?" I often see this misunderstanding in many articles and newsgroups, that is, the DataReader (abbreviation of SqlDataReader or
In VB6, we use On Error to capture and handle errors, and often use On Error Resume Next to generate possible ignore errors.
Will error capture affect the speed?
Yes, using error handling will reduce some performance. . Net, using Try Catch will
//Please refer to the example belowVoidPage_Load (){.Response. Charset="";This. EnableViewState=False;StringWriter tw=NewStringWriter ();HtmlTextWriter wt=NewHtmlTextWriter (tw );StringPath=@"C: est.htm";//FileInfo info = new FileInfo (@ "c: est.txt
Note: SetFormOfControlboxThe property isFalse,
Note:Form. textTo be set to null,Otherwise, the title bar will not be removed.
DimMousXAs Integer
DimMousYAs Integer
DimCurrXAs Integer
DimCurrYAs Integer
Public SubMyMouseDown
Before the Web era, for most IT managers and consultants, data access is a relative problem. All the data to be used must be prepared by yourself. People are mainly concerned about selecting the best database server with better performance/price
The last article said that the biggest difference between asp.net and asp is the conversion of programming thinking. Now let's look at how to convert programming ideas. The previous web programming process from cgi (perl) to asp, php, and jsp is
View your cookies
You may find it helpful to understand the effect of creating a Cookie. It is easier to view cookies because they are all text files. The key is that you can find them. Different browsers store cookies in different ways. I will
Page events Previously, I mentioned that ASP. NET has been rewritten from scratch, but I did not point out that it was rebuilt based on the object-oriented approach. At the top of the Object Tree is a Page object, that is, a Page object, ASP. NET,
Implement data communication using SOAP
For a long time, we have used Hypertext Transfer protocol HTTP to provide Web pages and exchange content. However, when we combine HTTP or some other Internet transmission protocols with XML and specify the
///
/// Import all data in DataSet into Excel.
/// You need to add COM: Microsoft Excel Object Library.
/// Using Excel;
///
///
///
Public static void ExportToExcel (string filePath, DataSet ds)
{
Object oMissing = System. Reflection.
In addition to the "Start Screen" dialog box, the user interface editor also provides many other pre-defined dialog boxes, for example, the "License Agreement", "self-report file", "registered user", and "customer information" dialog boxes can be
Function: Click the datagrid and press ctrl or shift on the keyboard to select multiple rows.
Public Class MyDataGridCLASSInherits DataGridPrivate m As New ArrayList
Public ReadOnly Property MultiSelectedIndex () As Integer ()GetReturn m. ToArray
Do you find that you can use this type to conduct public opinion investigations? However, this class does not contain any page html
Output, so now the problem is the page display layer, but now another problem is how to display the survey
Set compilation debug = "true" to enable ASPX debugging. Otherwise, set this valueFalse will improve the runtime performance of this application.Set compilation debug = "true" to set the debug symbol (. pdb Information)Insert to the compilation page.
Upgrade
Wizard
The ParamArray parameter in the process indicates an upgrade warning. For example, the following code:
Function MyFunction (ParamArray p () As Variant)
...
End Function
After the upgrade, it will be changed:
UPGRADE_WARNING:
ASP. NET does not support multiple runat = server forms on the same page. To solve this problem, you can place each form in a single panel control, in this way, you can simply switch between different panels using single-choice buttons.The Code is
Tofu is made of excellent productsHttp://www.asp888.net bean curd technology station
Friends who often write asp + programs must have seen such code Button_Click (Object Sender, EventArgs E)But what does Sender mean? What is his usefulness?Many
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