Click here to Skip to main content
16,010,876 members
Home / Discussions / C#
   

C#

 
General**** The DataGrids! All of them! Pin
Domenic Denicola6-Mar-02 3:21
Domenic Denicola6-Mar-02 3:21 
GeneralRe: **** The DataGrids! All of them! Pin
James T. Johnson6-Mar-02 13:05
James T. Johnson6-Mar-02 13:05 
GeneralRe: **** The DataGrids! All of them! Pin
Domenic Denicola6-Mar-02 13:39
Domenic Denicola6-Mar-02 13:39 
GeneralRe: **** The DataGrids! All of them! Pin
James T. Johnson6-Mar-02 14:52
James T. Johnson6-Mar-02 14:52 
GeneralRe: **** The DataGrids! All of them! Pin
Domenic Denicola6-Mar-02 15:08
Domenic Denicola6-Mar-02 15:08 
GeneralRe: **** The DataGrids! All of them! Pin
James T. Johnson6-Mar-02 15:36
James T. Johnson6-Mar-02 15:36 
GeneralErrors & Exceptions in C# Pin
Anand Amirineni5-Mar-02 13:05
Anand Amirineni5-Mar-02 13:05 
GeneralRe: Errors & Exceptions in C# Pin
James T. Johnson5-Mar-02 15:50
James T. Johnson5-Mar-02 15:50 
The problem is caused because your property is trying to get/set itself. You need a private field to store the value, and the property gets/sets that.

private string name;
public string Name {
  get {
    return name;
  }
  set {
    name = value;
  } 
}
Notice the different in case between name and Name. C# is case sensitive Smile | :)

HTH,

James

Sonork ID: 100.11138 - Hasaki
"Smile your little smile, take some tea with me awhile.
And every day we'll turn another page.
Behind our glass we'll sit and look at our ever-open book,
One brown mouse sitting in a cage."
"One Brown Mouse" from Heavy Horses, Jethro Tull 1978

GeneralRe: Errors & Exceptions in C# Pin
7-Mar-02 18:17
suss7-Mar-02 18:17 
QuestionHow to store an object into a database? Pin
5-Mar-02 9:17
suss5-Mar-02 9:17 
AnswerRe: How to store an object into a database? Pin
James T. Johnson5-Mar-02 10:06
James T. Johnson5-Mar-02 10:06 
AnswerRe: How to store an object into a database? Pin
James T. Johnson6-Mar-02 10:20
James T. Johnson6-Mar-02 10:20 
GeneralRe: How to store an object into a database? Pin
AndyG6-Mar-02 18:26
AndyG6-Mar-02 18:26 
Generalhelp in treeview needed Pin
4-Mar-02 22:38
suss4-Mar-02 22:38 
GeneralRe: help in treeview needed Pin
Anand Amirineni5-Mar-02 14:12
Anand Amirineni5-Mar-02 14:12 
QuestionHow to use SSL Pin
Felix Nielsen4-Mar-02 9:19
Felix Nielsen4-Mar-02 9:19 
QuestionHow to sublass visually a C# class Pin
4-Mar-02 6:03
suss4-Mar-02 6:03 
AnswerRe: How to sublass visually a C# class Pin
James T. Johnson4-Mar-02 14:12
James T. Johnson4-Mar-02 14:12 
GeneralRe: How to sublass visually a C# class Pin
5-Mar-02 3:19
suss5-Mar-02 3:19 
GeneralRe: How to sublass visually a C# class Pin
James T. Johnson5-Mar-02 7:37
James T. Johnson5-Mar-02 7:37 
GeneralRe: How to sublass visually a C# class Pin
6-Mar-02 2:44
suss6-Mar-02 2:44 
GeneralRe: How to sublass visually a C# class Pin
James T. Johnson6-Mar-02 9:02
James T. Johnson6-Mar-02 9:02 
GeneralRe: How to sublass visually a C# class Pin
6-Mar-02 10:59
suss6-Mar-02 10:59 
GeneralRe: How to sublass visually a C# class Pin
James T. Johnson6-Mar-02 12:42
James T. Johnson6-Mar-02 12:42 
GeneralRe: How to sublass visually a C# class Pin
7-Mar-02 3:31
suss7-Mar-02 3:31 

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.