Get the App
SLTechnology News&Howtos  ›  Development  › 

Analysis of ASP.NET 's J# and C++ with examples

Shulou Source: shulou.com Published: 2022-06-02 09:41:14 10月02日 Update

This article mainly introduces "ASP.NET J #and C++ example analysis", in daily operation, I believe many people in ASP.NET J #and C++ example analysis problems have doubts, small series consulted all kinds of information, sorting out simple and easy to use operation methods, hope to answer "ASP.NET J #and C++ example analysis" doubts helpful! Next, please follow the small series to learn together!

In DataTable and DataReader operations, you can see that J #and C++ use a lot of get_Item() function, I guess J #and C++ are Object transformation, may cause a little impact on performance.

ASP.NET created using these two languages, C++ and JAVA used to friends, may be more useful.

I believe that each language has its strengths, we learn from each other, construct a good whole, have seen a lot of C#beginners, seems to have a bias against VB. NET, to "never VB" for glory, there are some friends, J #and C++. Net understand less, they misunderstand that these two languages are useless, in fact, these understandings are one-sided.

Let me give you an example:

/* Jscript | Jscript.Net */

var conn = Server.CreateObject("ADODB.Connection");

conn.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data

Source="+Server.MapPath("image.mdb"));

var rs = conn.Execute("SELECT * FROM image_data");

while(! rs.EOF)

{

Response.Write(rs("title").value);

rs.MoveNext();

}

rs.Close();

conn.Close();

Don't think this is just ASP, this is also out-and-out ASP.NET. Although RecordSet may not have a better reputation than DataReader in the eyes of us. NET developers, this is beyond the scope of this article, except to say that if you try to implement the same functionality in C#, the result will only be slow execution, long code, and complex structure.

In ASP.NET, there is no language ***, which language is the worst argument, each of the five languages has its strengths and weaknesses, we generate IL intermediate code, that is to say, J #and C++ they can naturally merge with each other, this is the essence of ASP.NET.

At this point, on the "ASP.NET J #and C++ example analysis" study is over, I hope to solve everyone's doubts. Theory and practice can better match to help everyone learn, go and try it! If you want to continue learning more relevant knowledge, please continue to pay attention to the website, Xiaobian will continue to strive to bring more practical articles for everyone!

Tags: Language analysis learning no code more friends strengths Centers help complex same good learn from each other's weaknesses and then this is not that is that is to say Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Linux Xiaomi MariaDB OPPO Reno