日期:2014-05-17 浏览次数:21002 次
private void CreateCustomsRateR()
{
DataTable dt = Basis_CustomsRateManager.Basis_CustomsRateDataTable;
if (dt.Columns.Contains("Rate"))
{
dt.Columns["Rate"].ColumnName = "CustomsRate";
dgvcboCustomsRate_R.DisplayMember = "CustomsRate";
dgvcboCustomsRate_R.ValueMember = "CustomsRate";
dgvcboCustomsRate_R.DataSource = dt;
}
else
{
dgvcboCustomsRate_R.DisplayMember = "CustomsRate";
dgvcboCustomsRate_R.ValueMember = "CustomsRate";
dgvcboCustomsRate_R.DataSource = dt;
}
}