R
Ruslan Shlain
Whats wrong with this code?
public void CleanData(DataSet DS)
{
switch (DS.Tables[0].TableName.ToString())
{
case "scs_ds_vehicle_inventory" :
case "scs_ds_sold_customer" :
case "scs_ds_employee" :
case "scs_ds_fi_deals" :
case "scs_ds_ro_customer" :
case "scs_ds_ro_history" :
DS.Tables["scs_ds_ro_history"].Columns.Remove("m20");
case "scs_ds_ro_vehicle_history" :
DS.Tables["scs_ds_ro_vehicle_history"].Columns.Remove("m20");
}
}
public void CleanData(DataSet DS)
{
switch (DS.Tables[0].TableName.ToString())
{
case "scs_ds_vehicle_inventory" :
case "scs_ds_sold_customer" :
case "scs_ds_employee" :
case "scs_ds_fi_deals" :
case "scs_ds_ro_customer" :
case "scs_ds_ro_history" :
DS.Tables["scs_ds_ro_history"].Columns.Remove("m20");
case "scs_ds_ro_vehicle_history" :
DS.Tables["scs_ds_ro_vehicle_history"].Columns.Remove("m20");
}
}