Click here to Skip to main content
15,887,425 members
Home / Discussions / C#
   

C#

 
QuestionDOS program output problem!! Pin
TheNewNewGuy9-Feb-06 21:59
TheNewNewGuy9-Feb-06 21:59 
AnswerRe: DOS program output problem!! Pin
leppie9-Feb-06 23:48
leppie9-Feb-06 23:48 
AnswerRe: DOS program output problem!! Pin
Dave Kreskowiak10-Feb-06 5:01
mveDave Kreskowiak10-Feb-06 5:01 
GeneralRe: DOS program output problem!! Pin
TheNewNewGuy11-Feb-06 1:32
TheNewNewGuy11-Feb-06 1:32 
GeneralRe: DOS program output problem!! Pin
Dave Kreskowiak11-Feb-06 3:32
mveDave Kreskowiak11-Feb-06 3:32 
GeneralRe: DOS program output problem!! Pin
TheNewNewGuy12-Feb-06 0:03
TheNewNewGuy12-Feb-06 0:03 
GeneralRe: DOS program output problem!! Pin
Dave Kreskowiak12-Feb-06 2:17
mveDave Kreskowiak12-Feb-06 2:17 
QuestionCustom Object used with Profile Object Pin
kloepper9-Feb-06 19:55
kloepper9-Feb-06 19:55 
I have a custom object that inherits from CollectionBase and it does not successfully bind to GridViews or DropdownLists. My understanding is that that is because GridViews and Dropdownlists implement IEnumerable, therefore, if I want my custom object to bind to the gridview or the dropdownlist, I need to inherit from IEnumerable also, right?

Whatever the answer is, I'm trying to learn what I need to do to get my custom object to bind to a gridview and a dropdownlist.

I don't think this has anything to do with it, but I'm setting the value of a Profile object (ASP.NET 2.0) equal to the custom object.

School.Teachers tlTeachers = new School.Teachers();

tlTeachers.Add(new School.Teacher("Buck"));

Profile.Teachers = tlTeachers;

Code like this works:

Label1.Text = Profile.Teachers.Count.ToString(); // The number of items in the profile object

Label1.Text = Profile.Teachers[1].FirstName.ToString();// The value of an item at a particular index position

But this does not:

GridView1.DataSource = Profile["Teachers"]; // Populate the GridView1 from the Profile Object

GridView1.DataBind();
QuestionHow to disable the jump to node function in TreeVeiw? Pin
coby cai9-Feb-06 18:13
professionalcoby cai9-Feb-06 18:13 
AnswerRe: How to disable the jump to node function in TreeVeiw? Pin
DigitalKing9-Feb-06 19:29
DigitalKing9-Feb-06 19:29 
GeneralRe: How to disable the jump to node function in TreeVeiw? Pin
coby cai9-Feb-06 19:54
professionalcoby cai9-Feb-06 19:54 
GeneralRe: How to disable the jump to node function in TreeVeiw? Pin
DigitalKing9-Feb-06 20:12
DigitalKing9-Feb-06 20:12 
GeneralRe: How to disable the jump to node function in TreeVeiw? Pin
coby cai9-Feb-06 20:19
professionalcoby cai9-Feb-06 20:19 
AnswerRe: How to disable the jump to node function in TreeVeiw? Pin
DigitalKing9-Feb-06 20:31
DigitalKing9-Feb-06 20:31 
GeneralRe: How to disable the jump to node function in TreeVeiw? Pin
coby cai9-Feb-06 21:44
professionalcoby cai9-Feb-06 21:44 
QuestionDLLs - Creating Pin
Expert Coming9-Feb-06 17:58
Expert Coming9-Feb-06 17:58 
AnswerRe: DLLs - Creating Pin
rakesh_nits9-Feb-06 18:10
rakesh_nits9-Feb-06 18:10 
AnswerRe: DLLs - Creating Pin
Dave Kreskowiak9-Feb-06 18:12
mveDave Kreskowiak9-Feb-06 18:12 
GeneralRe: DLLs - Creating Pin
Expert Coming9-Feb-06 18:19
Expert Coming9-Feb-06 18:19 
GeneralRe: DLLs - Creating Pin
Kodanda Pani9-Feb-06 23:01
Kodanda Pani9-Feb-06 23:01 
GeneralRe: DLLs - Creating Pin
tiancaidao10-Feb-06 2:55
tiancaidao10-Feb-06 2:55 
GeneralRe: DLLs - Creating Pin
LongRange.Shooter10-Feb-06 2:01
LongRange.Shooter10-Feb-06 2:01 
QuestionCurrencyManger question Pin
Tom Wright9-Feb-06 16:41
Tom Wright9-Feb-06 16:41 
QuestionC# addins can not implement MC++ interface? Pin
tiancaidao9-Feb-06 16:05
tiancaidao9-Feb-06 16:05 
AnswerRe: C# addins can not implement MC++ interface? Pin
tiancaidao9-Feb-06 16:07
tiancaidao9-Feb-06 16:07 

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.