sara23apr
01-13-2007, 05:23 AM
I have a GridView which will display 25 records at a time.
Currently i have done custom coding for Update and Insert operations.
When clicked on the editbutton (in the gridview), I open that record in a page where i manually bind the fields to textboxes and on click of update button i do the update operation
similarly i have coded for the Add/insert button
Friends Please tell me
1) which is the better way of coding? should i use built in Detailsview or Form view OR should i continue to custom code in the way i have been doing.
2) Does using Details view or Form view increase the overhead of the page. What about the speed?
Regards Sara
Currently i have done custom coding for Update and Insert operations.
When clicked on the editbutton (in the gridview), I open that record in a page where i manually bind the fields to textboxes and on click of update button i do the update operation
similarly i have coded for the Add/insert button
Friends Please tell me
1) which is the better way of coding? should i use built in Detailsview or Form view OR should i continue to custom code in the way i have been doing.
2) Does using Details view or Form view increase the overhead of the page. What about the speed?
Regards Sara