Posted by Jim Michaels on 02/23/06 13:23
"pjSoni" <parekhjp@gmail.com> wrote in message
news:1139303648.965260.196100@o13g2000cwo.googlegroups.com...
> Hi,
>
> There are 2 ways 2 do this.
>
> First of all make listing scrren which display all records in page than
> do 1 of the following
>
> 1. If you need all the records editable at same time.
> Make edit button or link when you click on that it should display all
> there records with text boxes and bottom of the page save button
> displayed when you click all the records will be updated.
>
I implemented mine so each row has its own form with its own delete/change
button. There was also an Add form at the top. I did this because with so
many users, you can't guarantee that all those records you displayed will
stay the same or still be there - can you? are you going to do a mass
insert/update? I wouldn't. And at least this way your fields will be a
little more up-to-date on the next page refresh.
> 2. If you need only 1 records editable.
> Make edit link in each row when you click on single records edit link
> it should reload and only clicked recod should hold textboxes in only
> single row not for all records.
> When click on link after updating than it should updated in db.
>
> As per my understanding about you requirement above are good solutions.
>
> Regards,
> Jatin
>
Navigation:
[Reply to this message]
|