A
André Freitas
I got a gridview, and i have two choices:
Keep a few fields i need in datakeys, then call a procedure passing all the
parameters that i need to do a insert into.
or
Keep only the id in datakeys, then get the rest of the parameters inside the
procedure with a select?
What's the best aproach, and why?
I think the first choice its best in preserve the database resources,
because i ll not need to do a new select. An the second choice for security
issues, and more error free. What about you guys?
Thx
Regards,
Keep a few fields i need in datakeys, then call a procedure passing all the
parameters that i need to do a insert into.
or
Keep only the id in datakeys, then get the rest of the parameters inside the
procedure with a select?
What's the best aproach, and why?
I think the first choice its best in preserve the database resources,
because i ll not need to do a new select. An the second choice for security
issues, and more error free. What about you guys?
Thx
Regards,