Torna al Thread

protected void grwProdottiGruppo_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { GridView grwProdottiGruppo = (GridView)sender; TextBox txtCosto = (TextBox)grwProdottiGruppo.FindControl("txtCosto"); TextBox txtCostoAttivazione = (TextBox)grwProdottiGruppo.FindControl("txtCostoAttivazione"); //txtCosto.Text = DataBinder.Eval(e.Row.DataItem, "costo").ToString(); //txtCostoAttivazione.Text = DataBinder.Eval(e.Row.DataItem, "costo_attivazione").ToString(); } }
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5