Learn VB.NET simply in the bones! The bones are not finished, the teeth have fallen a few!

xiaoxiao2021-03-05  27

Recently, I'm going down (work hard, I don't want to mix the days) I have learned what to learn .Net, although I can do some database applications, but recently I have found that it is, the more obvious. Some details, I really don't want to college. (I want to cry without tears, I will make this policy)

Among them, what I want to say is that the book I have learned is based on VB.Net. I don't know why. Now I am a classic book, I seem to have not found it, I bought it. Several ADO.NET books still feel good. In addition, there are two books in the C # aspect, and it is very good to understand. Some problems, I am found in the C # book (everyone says that I am very tired!?). Recently, you can find a job while learning. Net, anyway, it is still fully utilized. There are not many gossip, talk about some problems.

The first is about the location of the DataSet, I really can't get it, is it in the server or on the Browser end. Mainly, the only more comprehensive book in my hand is that it can be at the workstation at the end of the end, can be on the S-terminal. My understanding is that the XML structure generated by B / S in ASP.NET is in the S-terminal. When the B-terminal is called, it naturally resolves, then I want to ask which location is this DataTable XML file? There is currently no such information. Mainly, I want to see its structure, I use vs.net time no more than one month (~ ^) ^ ~). Which DataSet1.xsd structural file is seen. From my current understanding, ADO.NET .NET's efficiency is to decrease a time that uses the time of source database connection processing and improves system resources.

In addition, the problem is that I want to set IsmidContainer to TRUE after the parent form, I add another control on the parent form. But I can't determine the MDI form in front of the parent form, exhausted me, I have seen a lot, still there is no good to dress, after using Panel, put it to top or left / right / bottom is not what I want. The effect of the effect is because it is a Fill fill background, and a simple example. After I PictureBox, the MDI form is all behind the parent window. MDILIST tracking can be found to open the form. However, it is not possible to use the MDI form, because the open MDI form is covered in the background of the parent form control, how to reite, I will ask for a vb.net version, there is no clear answer. (Say my use purpose, I want to put a project picture on the background of the menu, I need to put a project picture as a background, there are some common process operation functions) My question is purely a beginner, let everyone Laugh!

Third, DataSet Patement Problem. I am hard. Who has information, I have a look. I haven't mentioned my book, I am a question of others to gradually analyze my problem. I want to come to a problem, but I am more concerned about this thing for beginners. The dish is a dish, there is nothing wrong with it.

Fourth, general MDI database operation, current experience tells me that multiple Dataset builds in multiple MDI forms, at least my feelings, I have opened 5 Dataset here, my machine is clear slow down. How is this improved performance? Can you divide a few cases? should.

The fifth thing is that the inheritance of the form. I really have to spend more time for more time to understand something, I will mention this problem because I found some of my MDI forms, in fact, there are many places to be the same (mainly functional), such as extracting DataSet, My table is only 5, 6 tables, and some forms are loaded only 2 identical tables. Although my current comment method is to reiterate the function to the same MDI form in a DataSet. But I think there should be a better way to complete similar problems, I think of the form inheritance. I don't know how others use it? No matter what way, please give me a guilty! The last thing is actually a problem. I don't know when the .NET's garbage recycling is the best intervention, because .NET garbage recovery is completed in an uncertain time, I will never be a DataSet, know that there is no need below, but also put it Are you waiting for it to recover? So when is it best to release resources? How to release it, I know the Dispose method, Finalize can also be. How to use, than an example, in the ASP database record set is used, only RS.Close release system resources, if you do not need it, you can set RS = Nothing If the entire use of all loaded two database connection resources Can be released together, with the end of the script:

<%

Rs.close

SET RS = Nothing

Conn.close

Set conn = Nothing

%>

I know when I let's release resource memory. But I will not be clear. Net. Said halfway or experience time, but I need to know these things now, and a person is really hard. * O *! ? I don't know that the administrator will not delete this thing, I want to ask questions? My purpose is still to communicate, otherwise, what is this blog to do? ! ! In addition, I have already asked in the forum, but there are no clear answers in a few questions. Put here, let's take a clear tip, and if you can answer your own, if you can answer, let many people who are ready to learn or begin school, not good things.

转载请注明原文地址:https://www.9cbs.com/read-37636.html

New Post(0)