Click here to Skip to main content
15,921,203 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC19-Dec-10 1:15
LAPEC19-Dec-10 1:15 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute19-Dec-10 1:41
Henry Minute19-Dec-10 1:41 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC19-Dec-10 1:57
LAPEC19-Dec-10 1:57 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute19-Dec-10 2:01
Henry Minute19-Dec-10 2:01 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC19-Dec-10 6:09
LAPEC19-Dec-10 6:09 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute19-Dec-10 9:41
Henry Minute19-Dec-10 9:41 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC19-Dec-10 10:16
LAPEC19-Dec-10 10:16 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC21-Dec-10 1:23
LAPEC21-Dec-10 1:23 
Hi Henry

I've managed to crack the problem about the
DataMember property 'Food_Name' cannot be found on the DataSource.

I forgot to place the code on the mains click event button.
DtposDatabaseBS.DataSource = foodTable;


Now another problem is rising!

When I click the Starters button to add food items to the lits view it works fine, also
When I click the Mains button to add food items to the lits view it works fine, BUT

At the same time if I want to add another starter to my list view it doubles the item (same for main aswell),
and I think this is what coses that...

mainsUC.ItemSelected += new DtposApplication.Events.ItemSelectedEventHandler(mainsUC_ItemSelected);


I think the += sign makes it to add the double item...

Kind regards

Roni
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute21-Dec-10 3:01
Henry Minute21-Dec-10 3:01 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute21-Dec-10 3:09
Henry Minute21-Dec-10 3:09 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC21-Dec-10 13:06
LAPEC21-Dec-10 13:06 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute21-Dec-10 13:21
Henry Minute21-Dec-10 13:21 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC21-Dec-10 13:33
LAPEC21-Dec-10 13:33 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute21-Dec-10 13:34
Henry Minute21-Dec-10 13:34 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC21-Dec-10 13:35
LAPEC21-Dec-10 13:35 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC21-Dec-10 13:55
LAPEC21-Dec-10 13:55 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute21-Dec-10 14:13
Henry Minute21-Dec-10 14:13 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC21-Dec-10 14:43
LAPEC21-Dec-10 14:43 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute21-Dec-10 14:50
Henry Minute21-Dec-10 14:50 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC21-Dec-10 14:55
LAPEC21-Dec-10 14:55 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute21-Dec-10 15:02
Henry Minute21-Dec-10 15:02 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC21-Dec-10 15:12
LAPEC21-Dec-10 15:12 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute21-Dec-10 15:15
Henry Minute21-Dec-10 15:15 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC21-Dec-10 15:17
LAPEC21-Dec-10 15:17 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC21-Dec-10 15:15
LAPEC21-Dec-10 15:15 

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.