Click here to Skip to main content
15,915,869 members
Home / Discussions / C#
   

C#

 
AnswerRe: Register a .dll created in C# Pin
karam chandrabose9-Dec-06 18:45
karam chandrabose9-Dec-06 18:45 
AnswerRe: Register a .dll created in C# Pin
Christian Graus9-Dec-06 21:25
protectorChristian Graus9-Dec-06 21:25 
GeneralRe: Register a .dll created in C# Pin
karam chandrabose10-Dec-06 2:27
karam chandrabose10-Dec-06 2:27 
Question4 simple problems Pin
-Yoyosh-9-Dec-06 7:12
-Yoyosh-9-Dec-06 7:12 
AnswerRe: 4 simple problems Pin
Christian Graus9-Dec-06 21:23
protectorChristian Graus9-Dec-06 21:23 
GeneralRe: 4 simple problems Pin
-Yoyosh-9-Dec-06 22:34
-Yoyosh-9-Dec-06 22:34 
GeneralRe: 4 simple problems Pin
gnadeem10-Dec-06 4:49
gnadeem10-Dec-06 4:49 
QuestionUpdating Many-to-Many Relations via Two Listboxes Pin
The Prisoner9-Dec-06 5:56
The Prisoner9-Dec-06 5:56 
hi,

in the link below is an example of what I want to achieve, but in a smart client winforms app.
in my app, the listboxes would be directly on the Employee add/edit form.

http://examples.codecharge.com/ExamplePack/ManyToManyListboxes/ManyToManyListboxes.php?emp_id=20


i've been googling for days, but haven't found an example, and I am too unexperienced to figure it out by myself.

any help or pointing in the direction very much appreciated


am using VS2005, in a C# Windows application.

Let's say I want a form to add a new Employee and assign projects to him on the same form by having a list of available projects and a list of selected projects.

Should the first list box be databound to a bindingsource ? When I assign a project to the employee it should dispaear from the available list, but not from the underlying database.

The selected projects should add records to the Employee_project table (join table for the many to many relationship)

I'd like to see an example of this using bindingsources as the datasource for the listboxes.

i'm using nettiers/codesmith
Questionhow to view a file in a new window Pin
veluru krishna9-Dec-06 5:49
veluru krishna9-Dec-06 5:49 
AnswerRe: how to view a file in a new window Pin
teejayem9-Dec-06 6:26
teejayem9-Dec-06 6:26 
Questionhow to open a file in a new window Pin
veluru krishna9-Dec-06 5:48
veluru krishna9-Dec-06 5:48 
AnswerRe: how to open a file in a new window Pin
Christian Graus9-Dec-06 21:24
protectorChristian Graus9-Dec-06 21:24 
QuestionLimit Download Pin
Vertyg09-Dec-06 5:22
Vertyg09-Dec-06 5:22 
QuestionHow to control the controls of another form from current form Pin
rs20069-Dec-06 4:04
rs20069-Dec-06 4:04 
AnswerRe: How to control the controls of another form from current form Pin
Karthik Kalyanasundaram9-Dec-06 4:47
Karthik Kalyanasundaram9-Dec-06 4:47 
GeneralRe: How to control the controls of another form from current form Pin
rs20069-Dec-06 16:53
rs20069-Dec-06 16:53 
GeneralRe: How to control the controls of another form from current form Pin
Colin Angus Mackay11-Dec-06 0:13
Colin Angus Mackay11-Dec-06 0:13 
AnswerRe: How to control the controls of another form from current form Pin
Ravi Bhavnani9-Dec-06 5:12
professionalRavi Bhavnani9-Dec-06 5:12 
GeneralRe: How to control the controls of another form from current form Pin
rs20069-Dec-06 17:04
rs20069-Dec-06 17:04 
QuestionHow to avoid from copy of windows in Visualg .Net C# Pin
snjama9-Dec-06 3:59
snjama9-Dec-06 3:59 
AnswerRe: How to avoid from copy of windows in Visualg .Net C# Pin
Robert Rohde9-Dec-06 4:26
Robert Rohde9-Dec-06 4:26 
AnswerRe: How to avoid from copy of windows in Visualg .Net C# Pin
mav.northwind9-Dec-06 4:28
mav.northwind9-Dec-06 4:28 
GeneralRe: How to avoid from copy of windows in Visualg .Net C# Pin
karam chandrabose9-Dec-06 9:08
karam chandrabose9-Dec-06 9:08 
QuestionRe: System.Security.Cryptography.RSAParameters Pin
edchan9-Dec-06 3:49
edchan9-Dec-06 3:49 
QuestionAdd Cotrol Problem Pin
MHASSANF9-Dec-06 3:21
MHASSANF9-Dec-06 3:21 

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.