Click here to Skip to main content
15,920,896 members
Home / Discussions / Database
   

Database

 
GeneralRe: Connection Pooling nightmare - Timeout Expired Pin
Guy Harwood12-Dec-06 2:02
Guy Harwood12-Dec-06 2:02 
GeneralRe: Connection Pooling nightmare - Timeout Expired Pin
S Douglas12-Dec-06 2:12
professionalS Douglas12-Dec-06 2:12 
Questionerror 8624 ? Pin
alexrad8-Dec-06 8:48
alexrad8-Dec-06 8:48 
AnswerRe: error 8624 ? Pin
Colin Angus Mackay8-Dec-06 13:02
Colin Angus Mackay8-Dec-06 13:02 
AnswerRe: error 8624 ? Pin
albCode10-Dec-06 10:09
albCode10-Dec-06 10:09 
Questionms sql 2005 connection string and db file upload Pin
ullk8-Dec-06 8:45
ullk8-Dec-06 8:45 
AnswerRe: ms sql 2005 connection string and db file upload Pin
Colin Angus Mackay8-Dec-06 13:01
Colin Angus Mackay8-Dec-06 13:01 
QuestionUpdating many rows with ADO.net Pin
Drathmar8-Dec-06 5:46
Drathmar8-Dec-06 5:46 
Right now I have a program that queries a database and saves the data into a a strongly typed dataset

Then I perform various calculations on each record and fill in 5 null fields with data

Lastly, I click upload and it does a for loop, for each data row and calls the update method to update the database with the calculated values.

This works all fine and dandy, except the upload part is rather slow.

it looks something like

DataAdapter.StoredProcedureUpdate(Primary key, NewValue1, NewValue2, NewValue3, NewValue4, NewValue5)

I'm guessing that the upload part is slow because its repeating a process where 3/4 of the work done is not the update function
1. creating the connection
2. connecting and authnicating
3. calling the update procedure
4. closing the connection

I'm still somewhat new to ADO.NET so I'm not quite sure if its actually doing this.

Does anyone have some good suggestions on a better method?

Perhaps a way to call a bulk update through ADO.net or SQL?


QuestionHow to get 3rd Highest salary Pin
karam chandrabose8-Dec-06 5:33
karam chandrabose8-Dec-06 5:33 
AnswerRe: How to get 3rd Highest salary Pin
Parwej Ahamad8-Dec-06 5:50
professionalParwej Ahamad8-Dec-06 5:50 
AnswerRe: How to get 3rd Highest salary Pin
ednrgc8-Dec-06 8:49
ednrgc8-Dec-06 8:49 
GeneralRe: How to get 3rd Highest salary Pin
Pete O'Hanlon8-Dec-06 9:37
mvePete O'Hanlon8-Dec-06 9:37 
GeneralRe: How to get 3rd Highest salary Pin
Guy Harwood12-Dec-06 2:03
Guy Harwood12-Dec-06 2:03 
QuestionPopulating datas from Sql db to CSV file Pin
vijay_838-Dec-06 4:19
vijay_838-Dec-06 4:19 
AnswerRe: Populating datas from Sql db to CSV file Pin
Colin Angus Mackay8-Dec-06 4:31
Colin Angus Mackay8-Dec-06 4:31 
AnswerRe: Populating datas from Sql db to CSV file Pin
karam chandrabose8-Dec-06 5:19
karam chandrabose8-Dec-06 5:19 
QuestionProblem with stored procedure.... Pin
Kasic Slobodan8-Dec-06 1:47
Kasic Slobodan8-Dec-06 1:47 
AnswerRe: Problem with stored procedure.... Pin
Colin Angus Mackay8-Dec-06 4:32
Colin Angus Mackay8-Dec-06 4:32 
GeneralRe: Problem with stored procedure.... Pin
Kasic Slobodan8-Dec-06 5:19
Kasic Slobodan8-Dec-06 5:19 
GeneralRe: Problem with stored procedure.... Pin
Colin Angus Mackay8-Dec-06 5:57
Colin Angus Mackay8-Dec-06 5:57 
GeneralRe: Problem with stored procedure.... Pin
Kasic Slobodan8-Dec-06 9:44
Kasic Slobodan8-Dec-06 9:44 
AnswerRe: Problem with stored procedure.... Pin
karam chandrabose8-Dec-06 5:31
karam chandrabose8-Dec-06 5:31 
GeneralRe: Problem with stored procedure.... Pin
Kasic Slobodan8-Dec-06 5:44
Kasic Slobodan8-Dec-06 5:44 
GeneralRe: Problem with stored procedure.... Pin
Colin Angus Mackay8-Dec-06 6:00
Colin Angus Mackay8-Dec-06 6:00 
GeneralRe: Problem with stored procedure.... Pin
Kasic Slobodan8-Dec-06 9:30
Kasic Slobodan8-Dec-06 9:30 

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.