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

Database

 
QuestionBeginners help? Pin
Anonymous12-May-03 5:44
Anonymous12-May-03 5:44 
AnswerRe: Beginners help? Pin
Mike Osbahr19-May-03 11:34
Mike Osbahr19-May-03 11:34 
QuestionHow to Filter a database with the help of a combobox ? Pin
geraldschaller10-May-03 2:26
geraldschaller10-May-03 2:26 
GeneralExecuteReader question Pin
kensai10-May-03 1:14
kensai10-May-03 1:14 
GeneralRe: ExecuteReader question Pin
jeff_martin12-May-03 7:38
jeff_martin12-May-03 7:38 
GeneralPerl Project Help Pin
micahk9-May-03 1:05
micahk9-May-03 1:05 
GeneralWriting a DataTable As DBF (Long Post) Pin
Mark Sanders8-May-03 10:32
Mark Sanders8-May-03 10:32 
GeneralRe: Writing a DataTable As DBF (Long Post) Pin
Daniel Turini8-May-03 10:58
Daniel Turini8-May-03 10:58 
Mark Sanders wrote:
Do you think it would be possible/better to try and see if I could use an OleDbDataSet/OleDbDataAdapter solution?
No, probably this will be slower.

Mark Sanders wrote:
Can anyone give me some insight as to why this solution is incredibly slow other than the fact that there is a very large amount of records to write out?
Use parametrized queries: this will give you a huge performance boost. See the OleDbParameter class for examples.
Notice that using parametrized queries you won't need anymore to replace "dangerous" chars like the quotes.
This probably will eliminate the need for the switch on the type and all the string conversions, too.

For another tip, do not make massive string concatenations using the String class. This is slow, and will kill the performance of the garbage collector. Actually, this can lead to hard-to-find performance problems. Use the System.Text.StringBuilder instead.


My latest article: GBVB - Converting VB.NET code to C#
GeneralSamples Pin
Mark Sanders9-May-03 8:10
Mark Sanders9-May-03 8:10 
GeneralBest Way Pin
Mark Sanders12-May-03 9:53
Mark Sanders12-May-03 9:53 
GeneralRe: Writing a DataTable As DBF (Long Post) Pin
User 31295915-May-03 2:27
User 31295915-May-03 2:27 
GeneralSQL Statment Question... Pin
Jason Weibel8-May-03 5:29
Jason Weibel8-May-03 5:29 
GeneralRe: SQL Statment Question... Pin
basementman12-May-03 6:01
basementman12-May-03 6:01 
GeneralRe: SQL Statment Question... Pin
Nick Parker28-Jul-03 8:03
protectorNick Parker28-Jul-03 8:03 
GeneralRe: SQL Statment Question... Pin
Jason Weibel28-Jul-03 8:07
Jason Weibel28-Jul-03 8:07 
GeneralRe: SQL Statment Question... Pin
Nick Parker31-Jul-03 10:30
protectorNick Parker31-Jul-03 10:30 
GeneralDetermining the oledbconnection is from oracle database Pin
Syed Abdul Khader7-May-03 23:46
Syed Abdul Khader7-May-03 23:46 
GeneralMaster-Detail WinForm Pin
itawil7-May-03 8:03
itawil7-May-03 8:03 
GeneralMS access relationships and ASP Pin
Sarvesvara (BVKS) Dasa6-May-03 22:40
Sarvesvara (BVKS) Dasa6-May-03 22:40 
GeneralRe: MS access relationships and ASP Pin
Jean-Marc Molina29-May-03 13:32
Jean-Marc Molina29-May-03 13:32 
Questionhow to access Paradox database? Pin
GreatSolar6-May-03 16:12
GreatSolar6-May-03 16:12 
GeneralHierarchical query Pin
Anonymous6-May-03 1:47
Anonymous6-May-03 1:47 
GeneralRe: Hierarchical query Pin
DiWa6-May-03 3:07
DiWa6-May-03 3:07 
GeneralRe: Hierarchical query Pin
James Simpson7-May-03 5:43
James Simpson7-May-03 5:43 
GeneralInstalling MySQL on Windows Pin
A Sha2-May-03 18:44
sussA Sha2-May-03 18:44 

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.