Click here to Skip to main content
15,912,837 members
Home / Discussions / C#
   

C#

 
QuestionHELP...how to load 1,000,000 records to access in the fast way ? Pin
E_Gold18-Mar-08 21:22
E_Gold18-Mar-08 21:22 
AnswerRe: HELP...how to load 1,000,000 records to access in the fast way ? Pin
N a v a n e e t h18-Mar-08 21:25
N a v a n e e t h18-Mar-08 21:25 
GeneralRe: HELP...how to load 1,000,000 records to access in the fast way ? Pin
E_Gold18-Mar-08 21:59
E_Gold18-Mar-08 21:59 
GeneralRe: HELP...how to load 1,000,000 records to access in the fast way ? Pin
N a v a n e e t h18-Mar-08 22:12
N a v a n e e t h18-Mar-08 22:12 
GeneralRe: HELP...how to load 1,000,000 records to access in the fast way ? Pin
E_Gold18-Mar-08 23:30
E_Gold18-Mar-08 23:30 
AnswerRe: HELP...how to load 1,000,000 records to access in the fast way ? Pin
leppie18-Mar-08 22:00
leppie18-Mar-08 22:00 
AnswerRe: HELP...how to load 1,000,000 records to access in the fast way ? Pin
Christian Wikander18-Mar-08 22:20
Christian Wikander18-Mar-08 22:20 
AnswerRe: HELP...how to load 1,000,000 records to access in the fast way ? Pin
PIEBALDconsult19-Mar-08 7:41
mvePIEBALDconsult19-Mar-08 7:41 
In your example the command gets parsed for each row; use a parameterized command.

Before the loop, set the command and add the parameters.
Inside the loop, set the values of the parameters and execute the command.

This way the command is only parsed once.

I also wonder why you use for rather than foreach.
QuestionPassing a value in crystal report Pin
Krazy Programmer18-Mar-08 21:17
Krazy Programmer18-Mar-08 21:17 
QuestionC# App : how to develop multi user desktop application Pin
moobo18-Mar-08 21:08
moobo18-Mar-08 21:08 
GeneralRe: C# App : how to develop multi user desktop application Pin
Christian Wikander18-Mar-08 22:27
Christian Wikander18-Mar-08 22:27 
Generalcontinue; Pin
swjam18-Mar-08 20:21
swjam18-Mar-08 20:21 
GeneralRe: continue; Pin
Christian Graus18-Mar-08 20:27
protectorChristian Graus18-Mar-08 20:27 
GeneralRe: continue; Pin
swjam19-Mar-08 13:09
swjam19-Mar-08 13:09 
GeneralRe: continue; Pin
PIEBALDconsult19-Mar-08 16:02
mvePIEBALDconsult19-Mar-08 16:02 
GeneralRe: continue; Pin
Christian Wikander18-Mar-08 22:24
Christian Wikander18-Mar-08 22:24 
GeneralRe: continue; Pin
swjam19-Mar-08 13:23
swjam19-Mar-08 13:23 
Generalpls help!!! Pin
akinsanya adeleke18-Mar-08 20:18
akinsanya adeleke18-Mar-08 20:18 
GeneralRe: pls help!!! Pin
Christian Graus18-Mar-08 20:21
protectorChristian Graus18-Mar-08 20:21 
GeneralDifferences of Object Creation Pin
Satish - Developer18-Mar-08 20:00
Satish - Developer18-Mar-08 20:00 
GeneralRe: Differences of Object Creation Pin
Christian Graus18-Mar-08 20:26
protectorChristian Graus18-Mar-08 20:26 
GeneralRe: Differences of Object Creation Pin
Krazy Programmer18-Mar-08 21:21
Krazy Programmer18-Mar-08 21:21 
GeneralRe: Differences of Object Creation Pin
Christian Graus18-Mar-08 22:16
protectorChristian Graus18-Mar-08 22:16 
GeneralRe: Differences of Object Creation Pin
Hum Dum18-Mar-08 22:57
Hum Dum18-Mar-08 22:57 
GeneralRe: Differences of Object Creation Pin
Christian Graus18-Mar-08 23:35
protectorChristian Graus18-Mar-08 23:35 

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.