Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / July 2007

Tip: Looking for answers? Try searching our database.

DataView vs. DataGridView

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ewingate@gmail.com - 06 Jul 2007 19:40 GMT
What is the real difference between the DataView and the DataGridView?
Is the DataView even a control or is it merely a class? With methods
that allow you to edit rows and columns it seems like it would be a
control that you could drag and drop on a form in the designer but I
cannot find the DataView control in the toolbox. I have used a
DataGridView before but I was wondering if DataView has better
functionality.

Thanks!

-E
Nicholas Paldino [.NET/C# MVP] - 06 Jul 2007 20:09 GMT
DataView is not a control.  It is a type that is used to perform
filtering on a DataTable without actually changing the data in the data
table.  This way, you can separate the data from the presentation of the
data (in this case, presentation meaning a view on the data, where it is
sorted, or filtered).

   The DataGridView is a control that allows you to view tabular data, from
a DataTable, or other sources.

   It just so happens that the naming is similar.

Signature

         - Nicholas Paldino [.NET/C# MVP]
         - mvp@spam.guard.caspershouse.com

> What is the real difference between the DataView and the DataGridView?
> Is the DataView even a control or is it merely a class? With methods
[quoted text clipped - 7 lines]
>
> -E
ewingate@gmail.com - 06 Jul 2007 20:17 GMT
Ahh, excellent. Thank you for the answer. That was precisely the
information that I needed.

-E

On Jul 6, 3:09 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.com> wrote:
>     DataView is not a control.  It is a type that is used to perform
> filtering on a DataTable without actually changing the data in the data
[quoted text clipped - 28 lines]
>
> - Show quoted text -

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.