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

C#

 
AnswerRe: adding data trough datagridview to the sqlserver database Pin
ss.mmm11-Sep-07 10:54
ss.mmm11-Sep-07 10:54 
AnswerRe: adding data trough datagridview to the sqlserver database Pin
Mairaaj Khan11-Sep-07 12:44
professionalMairaaj Khan11-Sep-07 12:44 
Questionhow to get proj file Pin
ss.mmm11-Sep-07 10:01
ss.mmm11-Sep-07 10:01 
AnswerRe: how to get proj file Pin
Judah Gabriel Himango11-Sep-07 10:13
sponsorJudah Gabriel Himango11-Sep-07 10:13 
GeneralRe: how to get proj file Pin
ss.mmm11-Sep-07 10:50
ss.mmm11-Sep-07 10:50 
Questioncustom combobox display issue Pin
arevans11-Sep-07 9:09
arevans11-Sep-07 9:09 
AnswerRe: custom combobox display issue Pin
Skippums11-Sep-07 11:28
Skippums11-Sep-07 11:28 
QuestionDefaultValue Attribute for System.Collections.ArrayList Pin
Christopher Stratmann11-Sep-07 8:24
Christopher Stratmann11-Sep-07 8:24 
I cannot seem to figure it out. The default value is not working because it still comes up in bold in the property window.
private System.Collections.ArrayList _Test;
[DefaultValue(null)]
[Editor(typeof(TestCollectionEditor), typeof(System.Drawing.Design.UITypeEditor))]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public System.Collections.ArrayList Test
{
   get
   {
      if (_Test == null)
         _Test = new System.Collections.ArrayList();
      return _Test;
   }
   set { _Test = value; }
}


I have tried....
[DefaultValue("")]
[DefaultValue(-1)]

Chris
AnswerRe: DefaultValue Attribute for System.Collections.ArrayList Pin
Judah Gabriel Himango11-Sep-07 10:10
sponsorJudah Gabriel Himango11-Sep-07 10:10 
GeneralRe: DefaultValue Attribute for System.Collections.ArrayList Pin
Christopher Stratmann12-Sep-07 1:43
Christopher Stratmann12-Sep-07 1:43 
QuestionClear ButtonClick event Pin
SamuelClay11-Sep-07 7:41
SamuelClay11-Sep-07 7:41 
AnswerRe: Clear ButtonClick event Pin
Kristian Sixhøj11-Sep-07 7:50
Kristian Sixhøj11-Sep-07 7:50 
AnswerRe: Clear ButtonClick event Pin
Christian Graus11-Sep-07 8:03
protectorChristian Graus11-Sep-07 8:03 
GeneralRe: Clear ButtonClick event Pin
SamuelClay11-Sep-07 8:25
SamuelClay11-Sep-07 8:25 
AnswerRe: Clear ButtonClick event Pin
Brent Lamborn12-Sep-07 3:21
Brent Lamborn12-Sep-07 3:21 
QuestionError : Not All Code Paths Return A Value Pin
ctrlnick11-Sep-07 6:50
ctrlnick11-Sep-07 6:50 
AnswerRe: Error : Not All Code Paths Return A Value Pin
Patrick Etc.11-Sep-07 6:53
Patrick Etc.11-Sep-07 6:53 
AnswerRe: Error : Not All Code Paths Return A Value Pin
Christian Graus11-Sep-07 7:00
protectorChristian Graus11-Sep-07 7:00 
QuestionDifferentiate :User accessing form internet and user accessing from with the organization Pin
ss.mmm11-Sep-07 6:40
ss.mmm11-Sep-07 6:40 
AnswerRe: Differentiate :User accessing form internet and user accessing from with the organization Pin
Giorgi Dalakishvili11-Sep-07 6:47
mentorGiorgi Dalakishvili11-Sep-07 6:47 
QuestionHow to call ButtonClick event? Pin
ss.mmm11-Sep-07 6:38
ss.mmm11-Sep-07 6:38 
AnswerRe: How to call ButtonClick event? Pin
Christian Graus11-Sep-07 6:47
protectorChristian Graus11-Sep-07 6:47 
AnswerRe: How to call ButtonClick event? Pin
Giorgi Dalakishvili11-Sep-07 6:56
mentorGiorgi Dalakishvili11-Sep-07 6:56 
GeneralRe: How to call ButtonClick event? Pin
ss.mmm11-Sep-07 8:42
ss.mmm11-Sep-07 8:42 
QuestionCrystal Reports XI R2 question Pin
mjmcinto11-Sep-07 5:56
mjmcinto11-Sep-07 5:56 

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.