The CTS (campus recruitment system) was transplanted to vs2005 in the past two days! The use of transfor tool in vs2005 may cause some unexpected situations (depending on yourCode.
First, re-create the class library project and copy the code to the project directory (only code files, excluding projects, global files, assemblyinfo. CS ). Add existing code to the class library project to generate the DLL file.
Second, all the resource files in the Web site project are deleted. Net managed resources files. In the form file, modify codebehind to codefile and change autoeventwireup = "false" to the default autoeventwireup = "true ".
Modify the code file again, add partial before the class, and delete all automatically generated code, including the declared Control name. Example: protected system. Web. UI. webcontrols. DataGrid dggrid;
Finally, add references, compile the code file, and modify the code that fails from various upgrades to 2005.