Re: Best practices
- From: "Cor Ligthert[MVP]" <notmyfirstname@xxxxxxxxx>
- Date: Tue, 13 May 2008 06:52:13 +0200
Willian,
Is always nice to see messages like yours, they tell you that DataSets are slow, however most the alternatives are less quick.
Therefore ask the one who said this to you about an alternative and ask him a guarantee that it is quicker.
Some people use a dataset to make a copy of all the data in memory, then they don't succeed and show their failures by saying things like you have heard and go back to the old simulating punch card systems on disk they were used to.
About the memory, be aware that OOP programming is not anymore using principles of 1980, it is for sure spending more memory. Although the assemblies (Exe/DLL) are extremely small compared to programs made by languages from before the time of Net.
Cor
"Willian Lopes" <profwillian@xxxxxxxxx> schreef in bericht news:OGtqfmJtIHA.1236@xxxxxxxxxxxxxxxxxxxxxxx
Hi everybody.
I´m starting with C# and .NET. So, I have some difficulties with some codes. I´m already a programmer and I´m migrating from Delphi to C#. My questions are:
1) Into a form I´ve made my connection string and my SqlConnection variable. Now, I want use this connection to insert data from the form into table and, of course, get some data from a table for a search. My doubt is that to much people adviced me to don´t use DataSets ´cause they´re slow and get to much system´s memory. So, how do I retrieve and insert this data without DataSets? I read a lof ot tutorials but each of show a differente manner and opinion.
2) Is there a manner to use dataBingding without DataSet?
Thanks for help!
Willian Lopes
.
- References:
- Best practices
- From: Willian Lopes
- Best practices
- Prev by Date: Best practices
- Next by Date: Re: Typed and Untyped DataSet
- Previous by thread: Best practices
- Next by thread: Re: Best practices
- Index(es):
Relevant Pages
|