/// <summary>绑定数据源 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void UnitsGrid_NeedDataSource(object sender, GridNeedDataSourceEventArgs e) { UnitsGrid.DataSource = _unitsWirte.GetUnitsList(); }