protected void rpt1_ItemCommand(object source, RepeaterCommandEventArgs e) { Repeater rptdates = new Repeater(); rptdates = (Repeater)rpt1.Items[e.Item.ItemIndex].FindControl("rptLevel2"); DropDownList ddllist = new DropDownList(); LinkButton LnkLevel2 = new LinkButton(); for (int i = 0; i < rptdates.Items.Count; i++) { ddllist = (DropDownList)rptdates.Items[i].FindControl("ddlDate"); BatchDates = BatchDates + ddllist.SelectedValue.ToString().Trim() + " +"; dates += ddllist.SelectedItem.Text.ToString() + ","; LnkLevel2 = (LinkButton)rptdates.Items[i].FindControl("lnkLevel2"); PKGMinorCode += LnkLevel2.CommandArgument.ToString().Trim() + ","; In that place i want to write the gridview code } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)