Click here to Skip to main content
15,885,537 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Removing bytes from an exe file..... is it possible? Pin
Rolando CC24-Apr-09 7:40
professionalRolando CC24-Apr-09 7:40 
AnswerRe: Removing bytes from an exe file..... is it possible? Pin
Ben Fair24-Apr-09 8:38
Ben Fair24-Apr-09 8:38 
AnswerRe: Removing bytes from an exe file..... is it possible? Pin
Skymir24-Apr-09 10:16
Skymir24-Apr-09 10:16 
AnswerRe: Removing bytes from an exe file..... is it possible? Pin
OriginalGriff24-Apr-09 23:23
mveOriginalGriff24-Apr-09 23:23 
QuestionWeird Collection Thing [modified] Pin
#realJSOP24-Apr-09 5:55
mve#realJSOP24-Apr-09 5:55 
AnswerRe: Weird Collection Thing Pin
Gideon Engelberth24-Apr-09 7:21
Gideon Engelberth24-Apr-09 7:21 
GeneralRe: Weird Collection Thing Pin
Rolando CC24-Apr-09 7:43
professionalRolando CC24-Apr-09 7:43 
GeneralRe: Weird Collection Thing Pin
#realJSOP24-Apr-09 8:15
mve#realJSOP24-Apr-09 8:15 
Questionwatch video live stream on pda (broadcast from pc) Pin
b_emsi24-Apr-09 5:50
b_emsi24-Apr-09 5:50 
Questiondatasets over class objects to store data Pin
Tina P24-Apr-09 5:35
Tina P24-Apr-09 5:35 
AnswerRe: datasets over class objects to store data Pin
Yusuf24-Apr-09 5:55
Yusuf24-Apr-09 5:55 
GeneralRe: datasets over class objects to store data Pin
Tina P24-Apr-09 6:14
Tina P24-Apr-09 6:14 
GeneralRe: datasets over class objects to store data Pin
Yusuf24-Apr-09 6:20
Yusuf24-Apr-09 6:20 
QuestionRegular Expressions Pin
jas0n2324-Apr-09 4:54
jas0n2324-Apr-09 4:54 

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.