Click here to Skip to main content
15,897,518 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionHow to create the DataGridViewLinkColumn Pin
somagunasekaran25-Sep-07 0:08
somagunasekaran25-Sep-07 0:08 
AnswerRe: How to create the DataGridViewLinkColumn Pin
DigiOz Multimedia26-Sep-07 19:27
DigiOz Multimedia26-Sep-07 19:27 
AnswerRe: How to create the DataGridViewLinkColumn Pin
bttds27-Sep-07 0:02
bttds27-Sep-07 0:02 
Questionwant to change startup form in windows application Pin
Khawar Abbas125-Sep-07 0:01
Khawar Abbas125-Sep-07 0:01 
AnswerRe: want to change startup form in windows application Pin
Eduard Keilholz25-Sep-07 2:26
Eduard Keilholz25-Sep-07 2:26 
AnswerRe: want to change startup form in windows application Pin
bttds26-Sep-07 20:39
bttds26-Sep-07 20:39 
QuestionCombining 2 projects into 1 (part II) Pin
heztheone24-Sep-07 19:48
heztheone24-Sep-07 19:48 
QuestionDataGridView : Getting started Pin
JamesParsons24-Sep-07 19:37
JamesParsons24-Sep-07 19:37 
Hello,

I'm hoping someone can help me out here.

I want to get started using DataGridView, but I've not actually managed to find any examples that fit what I'm trying to do.

What I want to do is very simple:

(1) I have a list of class instances thus:

List<MyClass> classList;

(2) I want each MyClass member of classList to be represented as a row in my DataGridView

(3) I want to show only a subset of the class parameters, for example:


public class MyClass<br />
    {<br />
private string name;<br />
private int anumber;<br />
<br />
  // Want to show this in the interface<br />
  public String Name<br />
        {<br />
            get { return (name); }<br />
            set { name = value; }<br />
        }<br />
<br />
// I DON'T want to show this in the interface<br />
public int Number<br />
{<br />
 get { return (anumber); }<br />
            set { anumber= value; }<br />
}<br />
}<br />



I think that sums it up. No SQL, nothing just a nice list of data that I want to display.

Can anyone help? Many thanks!!
AnswerRe: DataGridView : Getting started Pin
JamesParsons24-Sep-07 19:41
JamesParsons24-Sep-07 19:41 
GeneralSeparate Sections in TextBox Pin
Brady Kelly24-Sep-07 3:02
Brady Kelly24-Sep-07 3:02 
GeneralRe: Separate Sections in TextBox Pin
Lutosław24-Sep-07 5:02
Lutosław24-Sep-07 5:02 
Questionvirtual graphics adapter Pin
amit.code23-Sep-07 23:18
amit.code23-Sep-07 23:18 
Questionhow to include check box in datagrid for .net 1.x version Pin
faiznasi21-Sep-07 20:49
faiznasi21-Sep-07 20:49 
AnswerRe: how to include check box in datagrid for .net 1.x version Pin
gzali26-Sep-07 23:36
gzali26-Sep-07 23:36 
QuestionData not displaying on separate forms Pin
basi001420-Sep-07 8:28
basi001420-Sep-07 8:28 
AnswerRe: Data not displaying on separate forms Pin
Dave Kreskowiak20-Sep-07 8:54
mveDave Kreskowiak20-Sep-07 8:54 
GeneralRe: Data not displaying on separate forms Pin
Paul Conrad26-Sep-07 16:15
professionalPaul Conrad26-Sep-07 16:15 
Questiondll Pin
ellllllllie19-Sep-07 22:27
ellllllllie19-Sep-07 22:27 
AnswerRe: dll Pin
Colin Angus Mackay20-Sep-07 0:42
Colin Angus Mackay20-Sep-07 0:42 
QuestionToolbar or BindingNavigator? Pin
aharrisreid19-Sep-07 13:09
aharrisreid19-Sep-07 13:09 
AnswerRe: Toolbar or BindingNavigator? Pin
kuyak200024-Sep-07 20:12
kuyak200024-Sep-07 20:12 
GeneralRe: Toolbar or BindingNavigator? Pin
aharrisreid25-Sep-07 1:37
aharrisreid25-Sep-07 1:37 
AnswerRe: Toolbar or BindingNavigator? Pin
kuyak20001-Oct-07 18:05
kuyak20001-Oct-07 18:05 
GeneralRe: Toolbar or BindingNavigator? Pin
aharrisreid4-Oct-07 15:48
aharrisreid4-Oct-07 15:48 
GeneralRe: Toolbar or BindingNavigator? Pin
kuyak20008-Oct-07 0:40
kuyak20008-Oct-07 0:40 

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.