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

C#

 
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 
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 
That's strange, it works for me.

Still, never mind.

A few messages ago I suggested that it would be better to have just one UserControl and add the buttons dynamically. Well, I've gone further than that. I've dispensed with the user control(s) altogether.

I've also made some other 'improvements'. Smile | :)

I was just uploading the new version when your message arrived. You can download it from here[^].

It is working against an Access Database

FoodTable: FoodID SmallInt, FoodName Text(30), FoodType Text(15), FoodPrice Currency
DrinkTable: DrinkID SmallInt, DrinkName Text(30), DrinkPrice Currency

Although I have not implemented the Drinks bit yet, you should be able to do that by using the same techniques as for the Food.

Let me know what you think.
Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

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 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute21-Dec-10 15:17
Henry Minute21-Dec-10 15:17 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC21-Dec-10 15:18
LAPEC21-Dec-10 15:18 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC21-Dec-10 15:32
LAPEC21-Dec-10 15:32 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute21-Dec-10 15:33
Henry Minute21-Dec-10 15:33 

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.