Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
GeneralRe: Simple Authentication Pin
Mazdak23-Mar-04 3:14
Mazdak23-Mar-04 3:14 
GeneralRe: Simple Authentication Pin
Heath Stewart23-Mar-04 3:27
protectorHeath Stewart23-Mar-04 3:27 
GeneralRe: Simple Authentication Pin
Mazdak23-Mar-04 3:34
Mazdak23-Mar-04 3:34 
GeneralRe: Simple Authentication Pin
Dave Kreskowiak23-Mar-04 2:31
mveDave Kreskowiak23-Mar-04 2:31 
GeneralRe: Simple Authentication Pin
Mazdak23-Mar-04 2:36
Mazdak23-Mar-04 2:36 
GeneralRe: Simple Authentication Pin
Dave Kreskowiak23-Mar-04 3:56
mveDave Kreskowiak23-Mar-04 3:56 
GeneralRe: Simple Authentication Pin
Heath Stewart23-Mar-04 3:39
protectorHeath Stewart23-Mar-04 3:39 
GeneralMultiple combos on one DataAdapter Pin
Pete Burgess23-Mar-04 0:53
Pete Burgess23-Mar-04 0:53 
I'm creating a data-driven Windows Form dialog which has two combo boxes both of which are lookups to the same table: one is HomeNationID, the other CurrentNationID looking up the Nation (NationID, Description) table.

I have set both combos to have their DataSource as my Nation table with DisplayMember as Nation.Description and ValueMember as Nation.NationID.

When I Show the form I get a runtime error Error creating window handle. (an OutOfMemoryException), it's InnerException is Object reference not set to an instance of an object., the stack trace goes back through ComboBox.SetItemsCore, ListControl.DataManager_ItemChanged and Forms.Control.UpdateBindings (with some others in between).

I can't add the Nation table a second time to the DataSet (not allowed two tables with the same name).

This doesn't seem like a particularly odd requirement - two combos with the same lookup table.

Confused | :confused:

PeteB
I wouldn't say "he's not the sharpest knife",
I'd say "he's a spoon."
GeneralRe: Multiple combos on one DataAdapter Pin
Heath Stewart23-Mar-04 3:50
protectorHeath Stewart23-Mar-04 3:50 
GeneralRe: Multiple combos on one DataAdapter Pin
Pete Burgess25-Mar-04 9:54
Pete Burgess25-Mar-04 9:54 
GeneralRe: Multiple combos on one DataAdapter Pin
Heath Stewart25-Mar-04 9:55
protectorHeath Stewart25-Mar-04 9:55 
GeneralUser who started the app Pin
nilhz23-Mar-04 0:36
nilhz23-Mar-04 0:36 
GeneralRe: User who started the app Pin
Mazdak23-Mar-04 1:20
Mazdak23-Mar-04 1:20 
GeneralRe: User who started the app Pin
nilhz23-Mar-04 3:03
nilhz23-Mar-04 3:03 
GeneralRequest for DB selection Pin
Utku KAYA22-Mar-04 22:35
Utku KAYA22-Mar-04 22:35 
GeneralRe: Request for DB selection Pin
Mazdak22-Mar-04 23:59
Mazdak22-Mar-04 23:59 
GeneralRe: Request for DB selection Pin
Heath Stewart23-Mar-04 3:51
protectorHeath Stewart23-Mar-04 3:51 
GeneralRe: Request for DB selection Pin
Heath Stewart23-Mar-04 3:56
protectorHeath Stewart23-Mar-04 3:56 
Generaldelete temp files Pin
hazzem elrefai22-Mar-04 21:12
hazzem elrefai22-Mar-04 21:12 
GeneralRe: delete temp files Pin
Corinna John22-Mar-04 23:47
Corinna John22-Mar-04 23:47 
GeneralRe: delete temp files Pin
hazzem elrefai23-Mar-04 0:25
hazzem elrefai23-Mar-04 0:25 
GeneralRe: delete temp files Pin
Dave Kreskowiak23-Mar-04 1:50
mveDave Kreskowiak23-Mar-04 1:50 
GeneralRe: delete temp files Pin
Heath Stewart23-Mar-04 3:57
protectorHeath Stewart23-Mar-04 3:57 
GeneralRe: delete temp files Pin
Dave Kreskowiak23-Mar-04 4:29
mveDave Kreskowiak23-Mar-04 4:29 
GeneralRe: delete temp files Pin
Heath Stewart23-Mar-04 4:50
protectorHeath Stewart23-Mar-04 4:50 

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.