Torna al Thread
protected void imgbSalva_Click(object sender, ImageClickEventArgs e)
{
//Salvo i servizi aggiunti
foreach (GridViewRow row in grwServizi.Rows)
{
CheckBox check = (CheckBox)row.Cells[0].FindControl("ckServizio");
if (check.Checked)
{
string codice_articolo = (String)(grwServizi.DataKeys[row.RowIndex].Values[0].ToString());
HiddenField hdIdCosto = (HiddenField)row.Cells[0].FindControl("hdIdCosto");
TextBox txtNServizio = (TextBox)row.Cells[0].FindControl("txtNServizio");
TextBox txtDurata = (TextBox)row.Cells[0].FindControl("txtDurata");