public void LoadLoaiChi() { SpendSpeciesDAO dt = new SpendSpeciesDAO(); cbbLoaichi.DataSource = dt.ListSpendSpecy(); cbbLoaichi.ValueMember = "SpendSpeciesID"; cbbLoaichi.DisplayMember = "Name"; }
public void laodCacloaichi() { try { SpendSpeciesDAO dt = new SpendSpeciesDAO(); grcCacLoaiChi.DataSource = dt.ListSpendSpecy(); } catch { } }