protected void FormView1_DataBound(object sender, EventArgs e) { if (FormView1.CurrentMode == FormViewMode.ReadOnly) { Repeater fvDetails = (Repeater)FormView1.Row.Cells[0].FindControl("rpEngine2"); if (fvDetails != null) { fvDetails.DataSource = BLL_Tec_ErLog.ErLog_ME_02_EDIT(int.Parse(Request.QueryString["VESSELID"].ToString())); fvDetails.DataBind(); } } }