Convert Oracle database tables in Excel to classes in programming languages (with comments)

1. Table form in excel
Data in an Excel sheet
2. Converted type format
Converted data format
3. Formula code in excel

="/// <summary>"&CHAR(10)&"///"&C4&CHAR(10)&"///"&UPPER(B4)&CHAR(10)&"///</summary>"&CHAR(10)&"public"&IF(ISNUMBER(FIND("number",B4))," double "," string ")&UPPER(A4)&";"

Among them, A4/B4/C4 are all replaceable contents.

Among them, several formulas in Excel are mainly used, which are

IF()  //判断
ISNUMBER() //判断是否为数字
FIND()  //找到字符串
UPPER()  //大写
CHAR(10)  //自动换行
&  //字符串拼接

おすすめ

転載: blog.csdn.net/beihuanlihe130/article/details/93613872
おすすめ