title: Data repeat in UITableView when scrolling
body: <p>I use bellow codes to show data on TableView but when scrolling, data repeat and other data lost.</p>
  
  <pre><code>- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
  {
      return 1;
  }
  
  - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
  {
      return [FileCompletedArray count];
  
  }
  </code></pre>
  
  <p>cellForRowatindexpath ():</p>
  
  <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  {
  
      static NSString *CellIdentifier = @"CellIdentifier";
  
      UITableViewCell *cell = [_tableView dequeueReusableCellWithIdentifier:CellIdentifier];
      if (cell == nil)
      {
          cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
  
          UILabel *FileNameLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 0, 100, 30)];
          FileNameLabel.backgroundColor = [UIColor clearColor];
          FileNameLabel.font = [UIFont fontWithName:@"Helvetica" size:16];
          FileNameLabel.font = [UIFont boldSystemFontOfSize:16];
          FileNameLabel.textColor = [UIColor blackColor];
          NSLog(@"Reseversed TEMP array %@",FileCompletedArray);
          FileNameLabel.text =[FileCompletedArray objectAtIndex:indexPath.row];
          [cell.contentView addSubview: FileNameLabel];
          [FileNameLabel release];
  
  
  
      }
          return cell;
  }
  </code></pre>
  
  <p>Do you have any solutions? Thanks in advance</p>