Click here to Skip to main content
15,891,633 members
Home / Discussions / C#
   

C#

 
QuestionHow to retrieve combobox values from datagridview in .net3.5 [modified] Pin
NarVish24-Apr-09 21:41
NarVish24-Apr-09 21:41 
Questionteking binary files as a input for client windowes application from a website Pin
umr124-Apr-09 20:35
umr124-Apr-09 20:35 
AnswerRe: teking binary files as a input for client windowes application from a website Pin
Bharat Jain24-Apr-09 22:46
Bharat Jain24-Apr-09 22:46 
AnswerRe: teking binary files as a input for client windowes application from a website Pin
Giorgi Dalakishvili24-Apr-09 23:00
mentorGiorgi Dalakishvili24-Apr-09 23:00 
Questionhow to get a list of computer names in LAN Pin
Vinziee24-Apr-09 19:04
Vinziee24-Apr-09 19:04 
AnswerRe: how to get a list of computer names in LAN Pin
Bharat Jain24-Apr-09 22:37
Bharat Jain24-Apr-09 22:37 
GeneralRe: how to get a list of computer names in LAN Pin
Bharat Jain24-Apr-09 22:38
Bharat Jain24-Apr-09 22:38 
QuestionInvoking "click" event on buttons using webBrowser Pin
labdakos24-Apr-09 19:04
labdakos24-Apr-09 19:04 
Questionreddit.com bot Pin
yogesh_softworld12324-Apr-09 13:46
yogesh_softworld12324-Apr-09 13:46 
Question[Message Deleted] Pin
mdunderwood24-Apr-09 13:02
mdunderwood24-Apr-09 13:02 
GeneralRe: Need assistance with a Producer/Consumer Queue logic where the Consumer can create a limited number of worker threads Pin
harold aptroot24-Apr-09 13:38
harold aptroot24-Apr-09 13:38 
AnswerRe: Need assistance with a Producer/Consumer Queue logic where the Consumer can create a limited number of worker threads Pin
Giorgi Dalakishvili24-Apr-09 22:59
mentorGiorgi Dalakishvili24-Apr-09 22:59 
Questionbluetooth stacks Pin
akinwaadeolu24-Apr-09 12:06
akinwaadeolu24-Apr-09 12:06 
QuestionWCF Question Pin
NETLearning24-Apr-09 11:58
NETLearning24-Apr-09 11:58 
AnswerRe: WCF Question Pin
Hesham Amin24-Apr-09 12:33
Hesham Amin24-Apr-09 12:33 
GeneralWCF Question Pin
NETLearning25-Apr-09 6:13
NETLearning25-Apr-09 6:13 
GeneralRe: WCF Question Pin
Hesham Amin25-Apr-09 23:04
Hesham Amin25-Apr-09 23:04 
QuestionFormatting data in a datagridview Pin
bwood202024-Apr-09 9:23
bwood202024-Apr-09 9:23 
QuestionMulti Column display ina listbox Pin
edlanka24-Apr-09 9:07
edlanka24-Apr-09 9:07 
AnswerRe: Multi Column display ina listbox Pin
DaveyM6924-Apr-09 9:09
professionalDaveyM6924-Apr-09 9:09 
GeneralRe: Multi Column display ina listbox Pin
edlanka24-Apr-09 9:39
edlanka24-Apr-09 9:39 
GeneralRe: Multi Column display ina listbox Pin
Dan Neely24-Apr-09 9:49
Dan Neely24-Apr-09 9:49 
Having used listviews extensively in an app but only having prototyped the DataGridView, I tend to lean towards the latter.

A list view is a less complex control (it's the file list from windows explorer). A DataGridView is a much more full featured, and complex, grid. If you're databound a DataGridView has native features to populate data. If you're not databound you can still do so easier by doing something like mygrid.addrow(firstItem, secondItem, thirdItem). With a listview afaik you have to create a new row item, use it's addSubItem method to add each value one at a time, and then finally add the row to the grid. There might be gotchas I'm not aware of but the DataGridView seems to be easier to use and has a much richer set of features. If you ever had to do anything fancy in the grid you'll have to use the latter anyway so you might as well start with it.

EDIT: The listview will have semantics somewhat closer to that of the listbox. However it's still different enough that it's not a plug and play replacement.

It is a truth universally acknowledged that a zombie in possession of brains must be in want of more brains.
-- Pride and Prejudice and Zombies

QuestionClosing DialogBox from other application Pin
Papi83dm24-Apr-09 7:47
Papi83dm24-Apr-09 7:47 
QuestionRemoving bytes from an exe file..... is it possible? Pin
Rajdeep.NET is BACK24-Apr-09 6:15
Rajdeep.NET is BACK24-Apr-09 6:15 
AnswerRe: Removing bytes from an exe file..... is it possible? Pin
musefan24-Apr-09 6:36
musefan24-Apr-09 6:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.