|
|
@@ -111,9 +111,9 @@ namespace CNAS_RunSync |
|
|
|
//3.1 绑定Combobox数据源 |
|
|
|
foreach (DataColumn dc in dtSource.Columns) |
|
|
|
{ |
|
|
|
if (syncInstrumentItem.LstSyncPramas.Where(s => s.SourceField == dc.ColumnName.ToUpper()).LongCount<SyncParamasInfo>() > 0) |
|
|
|
if (syncInstrumentItem.LstSyncPramas.Where(s => s.SourceField.ToUpper() == dc.ColumnName.ToUpper()).LongCount<SyncParamasInfo>() > 0) |
|
|
|
{ |
|
|
|
string strColumnName = dc.ColumnName.ToUpper(); |
|
|
|
string strColumnName = dc.ColumnName; |
|
|
|
if (DictField.ContainsKey(strColumnName)) |
|
|
|
strColumnName = DictField[strColumnName]; |
|
|
|
DictComboBox.Add(strColumnName, dc.DataType); |
|
|
|