C # Game planning and configuration tools,

Source: Internet
Author: User

C # Game planning and configuration tools,

This tool provides planning and configuration of excel Data, exporting data to the mysql database, and generating xml files, and corresponding xml parsing entity classes.

Implemented the program

 

Excel column name ID
= P indicates that the ID column is a unique field.
= S = 300 indicates that the column type is String type and the length is 300
= D indicates that the column type is double with the decimal point)
= FF_ddddd indicates that the associated excel file ddddd does not need to be suffixed. XML is used everywhere.
= L indicates that this column type is a long integer (long)
= B indicates that the column type is true or false (Boolean)
= I indicates that the column type is an integer (int) and no default type is specified.
= HL indicates ignore this column and do not read
= CL Id field ownership ALL (optional) = client and server common AC = indicates that the client uses AS = indicates that the service is used

Example: aa.xls File
ID = P
Name = S = 300
Sex = I


The database connection string is configured in the dbconfig. xml file.

<DBConfig>
Connection address
<DBPath> 192.168.1.198 </DBPath>
Connection Port
<DBPart> 3306 </DBPart>
Connection username
<DBUser> root </DBUser>
Connect to database
<DBBase> local_gamesr_data </DBBase>
Password
<DBPwd> fuckdaohaode1314 </DBPwd>
</DBConfig>

Source code

 

Program

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.