コード例 #1
0
 public void grdManPower_UpdateCommand(object sender, DataGridCommandEventArgs e)
 {
     String ManPower_id = "";
     ManPower_id = grdManPower.DataKeys[Convert.ToInt32(e.Item.ItemIndex)].ToString();
     whitfield_reports _wRep = new whitfield_reports();
     _wRep.UpdateManPowerActivity(Convert.ToInt32(ManPower_id), ((TextBox)(e.Item.FindControl("txtinstallhours"))).Text, 0);
     grdManPower.EditItemIndex = -1;
     grdManPower.ShowFooter = true;
     this.DisplayManPowerGrid();
 }