Click here to Skip to main content
15,914,163 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Luc Pattyn16-Dec-10 12:26
sitebuilderLuc Pattyn16-Dec-10 12:26 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC16-Dec-10 12:59
LAPEC16-Dec-10 12:59 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Luc Pattyn16-Dec-10 13:26
sitebuilderLuc Pattyn16-Dec-10 13:26 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC16-Dec-10 13:32
LAPEC16-Dec-10 13:32 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute16-Dec-10 12:27
Henry Minute16-Dec-10 12:27 
AnswerRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute17-Dec-10 9:48
Henry Minute17-Dec-10 9:48 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC17-Dec-10 14:30
LAPEC17-Dec-10 14:30 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute17-Dec-10 14:40
Henry Minute17-Dec-10 14:40 
Look out for an email from hfam at live stop co stop uk.

I'll attach the zipped solution.

In it I am using SqlConnection, SqlDataAdapter etc. If you do not have SqlServer then change those to OleDbWhatevers and it should be OK.

The database structure I have used is designed for simplicity and would probably not be suitable for a 'real' environment.

There are two tables (Starter and Main) and both have the same structure.

Field: ItemID - int identity (autoincrement)
Field: ItemName - nvarchar(50)
Field: ItemPrice - Money

Give a shout if there are any problems with it.
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
LAPEC17-Dec-10 14:56
LAPEC17-Dec-10 14:56 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute17-Dec-10 15:03
Henry Minute17-Dec-10 15:03 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute17-Dec-10 14:56
Henry Minute17-Dec-10 14:56 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC17-Dec-10 15:11
LAPEC17-Dec-10 15:11 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC18-Dec-10 12:28
LAPEC18-Dec-10 12:28 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute18-Dec-10 13:13
Henry Minute18-Dec-10 13:13 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC18-Dec-10 13:25
LAPEC18-Dec-10 13:25 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute19-Dec-10 0:35
Henry Minute19-Dec-10 0:35 
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 
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 

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.