protected void FormView1_DataBound(object sender, EventArgs e) { if (FormView1.CurrentMode == FormViewMode.ReadOnly) { int rowcount = 0; Repeater fvDetails = (Repeater)FormView1.Row.Cells[0].FindControl("Repeater2"); if (fvDetails != null) { fvDetails.DataSource = BLL_Tec_ErLog.ErLog_TASG_EDIT(1); fvDetails.DataBind(); } } }