Home > database >  [for] traverse two one-dimensional array with c # database list names of horses, and the correspondi
[for] traverse two one-dimensional array with c # database list names of horses, and the correspondi

Time:09-16

Traverse two one-dimensional array, c # and database list names of horses, and the corresponding match results added to the corresponding column:
SQL sever in a table, a total of six columns,
https://img-blog.csdnimg.cn/20200914225004259.png
Two one dimension array, respectively is:

Alps=new string string [] [L];//corresponding letter
String [] nums=new string [L];//values

Traverse in the table column name and Alps [L] match, then nums [L] after the value added to the corresponding name list,
Traverse Alps, for example, [0]=A, will nums [0]=32 is added to A column,
https://img-blog.csdnimg.cn/20200914225556252.png
Probably is this meaning, beg god to give a demo.
  • Related