轉載 C# BindingSource

1.引言 BindingSource組件是數據源和控件間的一座橋,同時提供了大量的API和Event供咱們使用。使用這些API咱們能夠將Code與各類具體類型數據源進行解耦;使用這些Event咱們能夠洞察數據的變化。 2.簡單綁定     DataTable myTable = myTableAdapter.GetData();//建立Table     BindingSource myBindi
相關文章
相關標籤/搜索