Register  |  Login

Question Details    

   Question

Time: 08:28 - Nov 01, 2007     Asked by: dustPuppy      Status: Answered      Points: 75   

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?

Ask a New Question

Become a Quomon Expert

Current Categories

 

Other Questions Needing Answers


   

Answer Discussion
Answer Discussion
Answer Summaries
Answer Summary
 
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 

Expert:

rcastagna

Date:

Nov 07, 2007

Time:

07:23

 

Votes: Good (0) | Bad (0)
Login to rate this answer

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...

Expert:

dustPuppy

Date:

Nov 08, 2007

Time:

11:39

 

Votes: Good (0) | Bad (0)
Login to rate this answer

Question Answered

This question has been answered, 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 this question by clicking on the "Answer Summaries" Tab.

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



Respond to 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:


Forgotten Password

 

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:


Forgotten Password

   

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


All Questions


Language Options

English:

www.quomon.com

Español:

www.quomon.es

Quomon Blog

blog.quomon.com

Sponsors

Questions and Answers Software
Real Estate Postcards
Marketing Fulfillment