0
Answer

dropdown inside the repeater

scropio gurl

scropio gurl

11y
981
1
previouly i use gridview but now i try to add repeater but the follwoing error occcurs

code when i use gridview
foreach (GridViewRow row in GrdFileApprove.Rows)
  {
 
  if (row.RowType == DataControlRowType.DataRow)
  {
  DropDownList DropDownListcontrol = row.FindControl("DropDownList4") as DropDownList;

  SqlCommand cmd = new SqlCommand("approveddd", mySQLconnection);
  cmd.CommandType = CommandType.StoredProcedure;


errror
 The name 'GrdFileApprove' does not exist in the current context

wo what i replace instead of this?