
比如:bindingNavigator1.BindingSource=BindingSource1; bindingNavigator中的按钮事件 private void toolStripButton1_Click(object sender, EventArgs e) { try { this.BindingSource1.MoveFirst //第一条 //this.BindingSource1.MoveLast //最后一条 //this.BindingSource1.MoveNext //下一条 //this.BindingSource1.MovePrevious;//上一条 } catch (Exception E) { MessageBox.Show("错误:" + E.Message); } }
