按扭列--删除
string DelID = this.DtGridDutyTime .DataKeys [e.Item .ItemIndex].ToString ();
按钮列--选择
string EditID = this.DtGridDutyTime .DataKeys [this.DtGridDutyTime .SelectedIndex ].ToString ();
转载于:https://www.cnblogs.com/lingxzg/archive/2006/09/02/492818.html