how to add dynamic button in tableCell?
<pre><code>UIButton *bookButton = [UIButton buttonWithType:UIButtonTypeInfoLight];
    bookButton.frame = CGRectMake(210, 17, 60, 40);
    [bookButton setImage:[UIImage imageNamed:@"b22.png"]forState:UIControlStateNormal];
    [bookButton addTarget:self action:@selector(book:) forControlEvents:UIControlEventTouchUpInside];
    [cell.contentView addSubview:bookButton];


- (IBAction) book: (id)sender
{
    Login *ev = [[Login alloc] initWithNibName:@"Login" bundle:[NSBundle mainBundle]];
    [self.navigationController pushViewController:ev animated:YES];
    [ev release];
    ev = nil;
}
</code></pre>
