protected void btnDefaultRoutingPart_Click(object sneder, EventArgs e) { ClassF classF = new ClassF(GetDirectory() + userDir); try { classF.addfromto_part(int.Parse(dropListProducts.SelectedValue)); tableSync.SyncTablesOnDefaultRouting(int.Parse(dropListProducts.SelectedValue)); } catch (Exception) { } classF.Close(); SetData(); }