| | |
| | | Row += "'è½´æ¿æ¹æ¬¡å·':"+$"'{textBox1.Text}',"; |
| | | Row += "'è½´æ¿éé':" + $"'{textBox2.Text}',"; |
| | | Row += "'æ¥æ':" + $"'{textBox3.Text}',"; |
| | | Row += "'产å°':" + $"'{comboBox5.Text}',"; |
| | | Row += "}"; |
| | | |
| | | partCode.Add(Txt_barcode1.Text, Row); |
| | |
| | | for (int j = sheet.Dimension.Start.Column, k = sheet.Dimension.End.Column; j <= k; j++) |
| | | { |
| | | string tempstr = $"'{sheet.Cells[1, j].Value?.ToString()}':'{sheet.Cells[m, j].Value?.ToString()}',"; |
| | | if (sheet.Cells[m, j].Value == null || sheet.Cells[m, j].Value == "") |
| | | { |
| | | break; |
| | | } |
| | | Temp_Row += tempstr; |
| | | if (j == 1) |
| | | { |
| | |
| | | //} |
| | | } |
| | | Temp_Row += "}"; |
| | | |
| | | if (Temp_Row == "{}") |
| | | { |
| | | break; |
| | | } |
| | | //partCode.Add(Temp_Row); |
| | | partCode[value] = Temp_Row; |
| | | } |