How to handle the handle the 4 images for 4 rows in a tableview?
<p>Iam developing one application.In that i use the tableview with 4 rows.Each row contain the one label,one textview and one image.This was working fine upto set the two images for two rows.When we set the image for third row,this image was appeared on remaining space of every cell.SO please tell me how to solve this one.When we scroll the tableview remaining images are becomes black.So please provide any help to me.Below one is the code.</p>

<pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
       static NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];

if (cell == nil){

    cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
}
  UILabel *lblTemp1=[[UILabel alloc]initWithFrame:CGRectMake(100, 8, 220, 20)];
 txtView=[[UITextView alloc]initWithFrame:CGRectMake(90,20,220,69)];
 txtView.delegate = self;
 lblTemp1.font = [UIFont boldSystemFontOfSize:17];
 txtView.editable=YES;
 txtView.font=[UIFont italicSystemFontOfSize:13];
 NSLog(@"%@",[odrdata valueForKey:@"keyToBvrgText"]);
 txtView.backgroundColor=[UIColor clearColor];
txtView.enablesReturnKeyAutomatically=YES;

if(indexPath.row==0)
{
       odrbvrgView=[[UIImageView alloc]initWithFrame:CGRectMake(5, 6, 90, 90)];
    [odrbvrgView.layer setBorderWidth:1.0f];
    [odrbvrgView.layer setBorderColor:[[UIColor grayColor] CGColor]];
    [odrbvrgView.layer setCornerRadius:10.0f];
    odrbvrgView.layer.masksToBounds = YES;
    [odrbvrgView setContentMode:UIViewContentModeScaleAspectFill];
          odrbvrgView.image=[UIImage imageWithData:[odrdata objectForKey:@"keyToBvrgImage"]];
          lblTemp1.text=[odrname objectAtIndex:indexPath.row];
          txtView.text=[odrdata valueForKey:@"keyToBvrgText"];
           [cell.contentView addSubview:txtView];
    [cell.contentView addSubview:lblTemp1];
    [cell.contentView addSubview:odrbvrgView];
    [lblTemp1 release];

    UITapGestureRecognizer *odrbvrgGesture=[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(handlebvrgTap:)];
    odrbvrgGesture.delegate=self;
    [odrbvrgView addGestureRecognizer:odrbvrgGesture];
    [odrbvrgGesture release];

return cell;
   }
}
</code></pre>
