Click here to Skip to main content
15,913,587 members
Home / Discussions / C#
   

C#

 
AnswerRe: Cross Threads problemo (invalidoperationexception) Pin
beatles169222-May-09 20:46
beatles169222-May-09 20:46 
GeneralRe: Cross Threads problemo (invalidoperationexception) Pin
Mark Salsbery23-May-09 11:33
Mark Salsbery23-May-09 11:33 
GeneralRe: Cross Threads problemo (invalidoperationexception) Pin
beatles169223-May-09 22:25
beatles169223-May-09 22:25 
GeneralRe: Cross Threads problemo (invalidoperationexception) Pin
Quake2Player22-Jun-09 8:36
Quake2Player22-Jun-09 8:36 
Question_ID field goes wrong Pin
misCafe22-May-09 15:28
misCafe22-May-09 15:28 
AnswerRe: _ID field goes wrong Pin
Luc Pattyn22-May-09 16:13
sitebuilderLuc Pattyn22-May-09 16:13 
GeneralRe: _ID field goes wrong Pin
misCafe22-May-09 16:43
misCafe22-May-09 16:43 
GeneralRe: _ID field goes wrong Pin
fly90422-May-09 17:10
fly90422-May-09 17:10 
misCafe wrote:
Do you make sense?


Yes he does, you on the other hand don't.

It seems that you are confussing 'records' and 'fields', records are the rows in the database and fields are the columns. The code that you have provided shows that you are adding the same row for every field (column) you have. sReader is the record (row), sReader[i] is the field (column). Hence why you go through the DataReader record by record (sReader.ReadLine()), and for each record you then go through it field by field, as shown in my other post.

I hope that clears things up.

My failometer is detecting vast quantities of FAIL!

"Its SQL - hardly programming..." (Caslen)

GeneralRe: _ID field goes wrong Pin
Luc Pattyn22-May-09 17:18
sitebuilderLuc Pattyn22-May-09 17:18 
GeneralRe: _ID field goes wrong Pin
Luc Pattyn22-May-09 17:19
sitebuilderLuc Pattyn22-May-09 17:19 
AnswerRe: _ID field goes wrong Pin
fly90422-May-09 16:34
fly90422-May-09 16:34 
GeneralRe: _ID field goes wrong Pin
misCafe22-May-09 17:27
misCafe22-May-09 17:27 
Questionwindows installer user interface checkbox to disable next button Pin
Member 202095122-May-09 11:07
Member 202095122-May-09 11:07 
QuestionChange FileAccess/FileShare permissions on a FileStream Pin
Dan Neely22-May-09 10:18
Dan Neely22-May-09 10:18 
AnswerRe: Change FileAccess/FileShare permissions on a FileStream Pin
Luc Pattyn22-May-09 11:21
sitebuilderLuc Pattyn22-May-09 11:21 
GeneralRe: Change FileAccess/FileShare permissions on a FileStream Pin
Dan Neely22-May-09 15:52
Dan Neely22-May-09 15:52 
QuestionHow to get the roles for a user other than the current one Pin
MGoetz22-May-09 8:22
MGoetz22-May-09 8:22 
AnswerRe: How to get the roles for a user other than the current one Pin
0x3c022-May-09 8:48
0x3c022-May-09 8:48 
GeneralRe: How to get the roles for a user other than the current one Pin
MGoetz22-May-09 9:13
MGoetz22-May-09 9:13 
GeneralRe: How to get the roles for a user other than the current one Pin
MGoetz26-May-09 4:44
MGoetz26-May-09 4:44 
Questionexternal database? Pin
benjamin yap22-May-09 6:55
benjamin yap22-May-09 6:55 
AnswerRe: external database? Pin
EliottA22-May-09 7:06
EliottA22-May-09 7:06 
GeneralRe: external database? Pin
benjamin yap22-May-09 7:09
benjamin yap22-May-09 7:09 
GeneralRe: external database? Pin
EliottA22-May-09 7:14
EliottA22-May-09 7:14 
GeneralRe: external database? Pin
benjamin yap22-May-09 7:21
benjamin yap22-May-09 7: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.