Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
QuestionCreate a textbox control in runtime mode Pin
NewbieDude26-Jan-06 0:38
NewbieDude26-Jan-06 0:38 
AnswerRe: Create a textbox control in runtime mode Pin
Ahmad Mahmoud [candseeme]26-Jan-06 0:38
Ahmad Mahmoud [candseeme]26-Jan-06 0:38 
GeneralRe: Create a textbox control in runtime mode Pin
NewbieDude26-Jan-06 0:47
NewbieDude26-Jan-06 0:47 
GeneralRe: Create a textbox control in runtime mode Pin
NewbieDude26-Jan-06 0:51
NewbieDude26-Jan-06 0:51 
GeneralRe: Create a textbox control in runtime mode Pin
Ahmad Mahmoud [candseeme]26-Jan-06 0:56
Ahmad Mahmoud [candseeme]26-Jan-06 0:56 
NewsStartup Editor Pin
Ahmad Mahmoud [candseeme]26-Jan-06 0:35
Ahmad Mahmoud [candseeme]26-Jan-06 0:35 
GeneralRe: Startup Editor Pin
DigitalKing26-Jan-06 6:23
DigitalKing26-Jan-06 6:23 
QuestionObject Binding Question Pin
akyriako7825-Jan-06 23:51
akyriako7825-Jan-06 23:51 
Can we achieve an child-parent lookup when we establish an object binding ?

Sorry i cant express it well so i'll give an example:

Let's suppose we have class Student and a class Classroom related in a way as follows.

class Classroom
{
public string Name {get;set;}
public string Code {get;set;}
}

We load from a db and get an Classroom[] { a , b , c , d}.

class Student
{
public string Name {get;set;}
public Classroom ClassRoom {get;set;}
}

We load students from a db.

Is this possible to bind Student.ClassRoom to a combobox which simultaneously be a lookup table deriving Classroom values from Classroom[] object i've already loaded and submit changes to the current student object of the binding source ?

I have done it with datasets so i assume it can be done with objects but project requirements exclude typed dataset and it's obligatory to use business objects.

It's not a homework , i'm not asking the code just a guideline or a decent data binding articles for .net 2.0 .

Thanx in advance.


QuestionType of disc in CD/DVD drive Pin
MajorPaul25-Jan-06 23:25
MajorPaul25-Jan-06 23:25 
AnswerRe: Type of disc in CD/DVD drive Pin
Dave Kreskowiak26-Jan-06 6:36
mveDave Kreskowiak26-Jan-06 6:36 
GeneralRe: Type of disc in CD/DVD drive Pin
MajorPaul27-Jan-06 2:20
MajorPaul27-Jan-06 2:20 
QuestionPlay sound Pin
mehrdadc4825-Jan-06 23:06
mehrdadc4825-Jan-06 23:06 
AnswerRe: Play sound Pin
idreesbadshah26-Jan-06 4:01
idreesbadshah26-Jan-06 4:01 
AnswerRe: Play sound Pin
snouto26-Jan-06 4:36
snouto26-Jan-06 4:36 
QuestionHow to implement IEnumerator with generics? Pin
t800t825-Jan-06 21:45
t800t825-Jan-06 21:45 
AnswerRe: How to implement IEnumerator with generics? Pin
t800t825-Jan-06 21:50
t800t825-Jan-06 21:50 
QuestionCrystal Reports Pin
shreya@work25-Jan-06 20:51
shreya@work25-Jan-06 20:51 
AnswerRe: Crystal Reports Pin
| Muhammad Waqas Butt |25-Jan-06 22:28
professional| Muhammad Waqas Butt |25-Jan-06 22:28 
GeneralRe: Crystal Reports Pin
shreya@work26-Jan-06 4:15
shreya@work26-Jan-06 4:15 
GeneralRe: Crystal Reports Pin
| Muhammad Waqas Butt |27-Jan-06 4:26
professional| Muhammad Waqas Butt |27-Jan-06 4:26 
QuestionControl events list Pin
NewbieDude25-Jan-06 20:39
NewbieDude25-Jan-06 20:39 
AnswerRe: Control events list Pin
James Gupta25-Jan-06 21:05
professionalJames Gupta25-Jan-06 21:05 
GeneralRe: Control events list Pin
NewbieDude25-Jan-06 21:11
NewbieDude25-Jan-06 21:11 
QuestionHow do I collapse / expand methods Pin
NewbieDude25-Jan-06 19:24
NewbieDude25-Jan-06 19:24 
AnswerRe: How do I collapse / expand methods Pin
DigitalKing25-Jan-06 19:39
DigitalKing25-Jan-06 19:39 

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.