scropio gurl

scropio gurl

  • NA
  • 147
  • 99.1k

dropdown inside the repeater

Nov 7 2013 8:39 AM
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?