Register  |  Login



Question

Status: Closed Points: 75 Time: 08:28 - Nov 01, 2007  

dustPuppy

what is the difference between datagrid and gridview in asp.net 2?

I'm looking for a quick overview of what enhancements the gridview brings to me as a asp.net developer being used to used the datagrid.
Is the conversion easy? What extras do we get with that?

Answer Discussion
Answer Summaries

 

Q&A System for Websites and Corporate Collaboration

Advertisement

  • Generates significant organic traffic for websites
  • Saves companies money, resources, and time

rcastagna

Date:: Nov 07, 2007

Time:: 07:23

Hey, dust!

Hope you've been doing well...

The short answer is that the gridview has built-in control for sorting and paging where the datagrid required three poodles, a ring of fire and the sacrifice of a small child to get it to do those "routine" tasks.

For a more detailed accounting of the differences, take a look at http://msdn.microsoft.com/msdnmag/issues...

From personal experience, the gridview is more flexible, but it still carries a lot of "weight" as a trade-off for that flexibility. I've been doing a lot more with repeaters because they're smaller in overhead and still offer a good portion of the features a gridview has...unless I'm going to do sorting or paging. Then, mostly for the ease with the built-in features, I'm using the gridview.

Hope this helps!

Ric 

dustPuppy

Date:: Nov 08, 2007

Time:: 11:39

thanks for your input Ric, i can relate well to the ring of fire :)
i somehow thought there was "more" to it, but then again, having sorting and paging integrated and better than the datagrid is a good deal also...
here's the points...

Question Answered

This question has been closed, and points have been rewarded to the following experts:

rcastagna: 75

You're welcome however to comment or give additional information or if you wish, you have the ability to write an Answer Summary for the Summary Area.

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

No summaries have been submitted yet. Want to be the first?

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

Ask a Question

Have a new question? Ask!

You have 100 characters to use



Top asp.net Experts

View More

Rank

Expert

Points

1.

rcastagna

75

Become an Expert

Register today to share your knowledge with the community and be recognized and rewarded for your contributions.


Register Here




"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it



Language Options

English:

www.quomon.com

Español:

www.quomon.es