Guest User

Untitled

a guest
Dec 18th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. public void Fill(Form _callingForm)
  2. {
  3. if (_callingForm.Name== "Consignor")
  4. {
  5. this.Refresh();
  6. this.CBConsignor.Refresh();
  7. cr = HouseBL.Pops.Consigner.consignorCode;
  8. this.customersTableAdapter.FillByRecCode(this.houseBLDb.Customers, cr);
  9. this.CBConsignor.DataSource = this.houseBLDb.Customers;
  10. this.CBConsignor.SelectedValue = this.houseBLDb.Customers.Rows[0]["RecCode"].ToString();
  11. this.CBConsignor.Refresh();
  12. }
  13. }
  14. }
Add Comment
Please, Sign In to add comment