In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces "thinking about how to achieve team division in ASP.NET". In daily operation, I believe that many people have doubts about how to achieve team division in ASP.NET. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "how to realize team division in ASP.NET". Next, please follow the editor to study!
1. First create a blank web project.
two。 Create a master page
3. Create a page for registration based on main.master, and the show of division of labor begins here.
4. First add a main div (regPage) to the page, which is used to locate the main control on the registration page in the style sheet.
Then place a div (userName) in the main div, which is used to locate all controls in the user name input area of the registration page in the stylesheet. In this example, a label and an input box are included.
With this skeleton, it's pretty easy to add other fields, just copy the userName div, and then change the ID.
You should notice that the content of the two div (label) is in English, this is not related, because I want to separate the content of the text in the future, hehe.
5. Create a blank css file and introduce it into Reg.aspx.
6. Write several CSS classes in reg.css.
Through these classes, you can customize the main style, all the tags, and all the input boxes. If you want to customize each control individually, you only need to add a more precise CSS class to locate it.
Now I can assign the style part to the artist, just change the reg.css, the artist can customize the page style he wants.
7. Back to Reg.aspx.
First, wrap the static text with a Localize control.
Then switch to Design view and click Tools- > Generate Local Resource on the VS menu. Since I am using the English version of VS, if you are using the Chinese version, find this menu item in the appropriate location.
At this point, you can notice that a resource file is automatically generated.
Open Reg.aspx.resx and you will find that all the text parts can be defined here.
Well, the text will be given to the boss and the landlady, so that they won't flirt at the back and upset me.
The boss and his wife only need to edit Reg.aspx.resx to change any text on the page. They seem very happy to do this thing. J
8. Now I can concentrate on writing the C # code. It was a lot of fun in the office.
At this point, the study of "thinking about how to achieve team division in ASP.NET" is over. I hope to be able to solve everyone's doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.