9. for global deployment 1, you can add a new project.> The resource file is. resx file. The string in this file is buttontext en-us 2. if the classkey In The Experssion and text of the Button is resources, set Cortual and UIcrotual to automatic. you can also set global settings in config, or set 10 in IIS. method 1 of website publishing. after the website is published, copy the website file to the directory c: inetpub \ wwwroot. set the virtual path in IIS to the root directory of your published website. 3. directly create a website and add your own new website root directory in the path. 4. in the VS solution, add-> new project-> other new projects-> web installation project, and then add project output to the installation project, then, in the properties, include the required system click-> the website to be packaged in, and then click Generate on the project. If you want to bind some packages, other systems may not be able to add corresponding packages in Properties> system essential> to facilitate migration. In this way, setup and. msc file, click to install it. In addition: simple IIS use: 1. switch from the function view of IIS to the content view to directly view the website files. Right-click the web page and choose browse 2. if it can only be accessed locally, it is a permission issue. Right-click to edit the permission to share 3. on the website icon on the left, right-click a website and choose Manage Website> advanced management> set the website path and maximum number of connections. 4. on the small icon of the website on the left, right-click and choose edit binding from the shortcut menu to edit the port number of the website. in the Basic settings on the right, you can set the website name, physical path, and link to (select a specific user> User Name + password) and test connection 6. after changing the settings, You need to recycle the program pool and restart it. 7. you can set the filter page in request filtering. in identity authentication, anonymous logon must be allowed for external access (. NET authorization rules are also for all users) 9. note that. the NETFormwork version must be consistent with the version generated by the website 10. you can also set the connection string (database connection, etc.) 11. AJAX use 1. add the scriptmanager (in AJAX Extensions) tab at the top of the web page (web form. add the UpdatePanel control in it, and put the control to be refreshed, such as textbox, in the panel. 3. when an event is triggered by a click, partial refresh is triggered. It is an Http request called in the background and is used in many places. establish a contact with the control machine outside the panel. For example, if you have selected a change in DropDownList1, you must see the change in the panel. The event (relay) in DropDownList1 is displayed) select the SelectedIndexChanged event in the selectIndexChanged attribute, and double-click it to edit it as TextBox1.Text = DropDownList1.SelectedValue; 5. there is also a reference to the AJAX Toolkit control. You can find a tutorial on the Internet. This will add additional extension items next to controls such as Text1 to set them. After Entering the settings, the TextBox will always be displayed on the page, use Aways... founder founder is the first plug-in, so that Text1.Box12 will also exist in the drop-down list on a long page. the use of DropDownList is generally to select a data source, similar to that of the DataGridView dview, to bind the data of the database. You can also add the data yourself, use the edit item, add the data, and modify the text and value, if you want to associate two dropdownlists, bind them to the code or bind them to the outside. use of Crystal Reports 1. only data of the database connection type can be used, and common Connections cannot be used. (The crystal report engine only supports Service Processing and does not support file processing. Therefore, file-type databases cannot be created, (right-click to add a new item) You must start the SQLserver server.) 2. create a database connection and Create Table 3. add a new item and find CrotalReport. rpt 4. add available data and connect to your own database. establish connection verification, generally for windows verification 6. add the table data to be displayed to the report. you can preview the report. use the main report to drag and use features similar to word to modify the style 9. A report can be divided into four parts: Header (right-click-> display without suppression (displayed)-> insert a Text object-> display title. The general information is displayed only once ), header (display time and other information on each page, the field is automatically set as the header content), detailed information (used to display data records cyclically), end of the report (show end information ), footer (display, page number, and other information) 10. you can use the text Object tool () in the left-side toolbar, Line Object (separated by lines for each record, similar to the word's own table) 11. when a report is automatically displayed on a webpage, the built-in toolbar contains various import and export functions 12. like word, you can insert charts, and set various chart styles (set the display mode of the displayed data, the title of the pie chart such as text, and the hyperlink of the image ), 13. right-click the design field and choose "chart expert". Return to the chart design module again. 14. the report is directly dragged to the form, provided that you first add the CrytalReportViewer of AJAX, select the report data source, and right-click to add a subreport // function: to achieve full CheckBox selection // The premise is to put this special CheckBox (your all-selected button) on another Panel private void checkbox#checkedchanged (object sender, EventArgs e) {foreach (Control check in this. controls) // obtain all the child Controls on the current control, which can be blocked on the Panel, so control CheckBox should be isolated on the Panel {if (check is CheckBox) // The check box control is used for processing. {CheckBox AllCheckBox = (CheckBox) check; // put all the checked box objects selected by the check box in the check box array for unified operations if (AllCheckBox. checked) {AllCheckBox. checked = false; // cancel all selected} else {AllCheckBox. checked = true; // select all for execution }}}}