Radgrid VS Gridview - SQL Query compare -
i ran same code radgrid , gridview , result same both. however, when @ sql profiler see radgrid calls query 3 times. on other hand gridview calls once. wondering reason is. looked @ many sources not find yet. if guys have thought why be, please allow me know - see attached file screenshot of code , sql profiler.
http://tinypic.com/r/116ul39/6
i think found reason cause multiple class. when utilize radgrid, is
it calls of info display field it calls 1 time again find out paging counts then it calls 1 time again filtering , suchon other hand, when utilize gridview , pass datasource can create 1 phone call db same result.
cheers,
sql gridview datasource radgrid sqlprofiler
No comments:
Post a Comment