Skip to main content

Posts

Showing posts from March, 2012

Why DataSet.Load and DataTable.Load - very slow ?

The DbDataReader object just reads data from database objects. 

The DbDataAdapter.Fill method reads data and caches them in the DataSet object. 

The DataTable.Load method fills a DataTable with values from a data source using the supplied IDataReader and creates constraints. 

The DataSet.Load method fills a DataSet with values from a data source using the supplied IDataReader, using an array of DataTable instances to supply the schema and namespace information. It creates constraints and tables for represeting data. 

In other words, the Load methods require more time, because they make more operations with data.

What is good in.net

I've being using. .net for about one and a half month, so far so good. Microsoft. Made everything easy to use and configuration. The language is someway more flexible than Java , and easy for making the change.

10 Reasons Why Visual Basic is Better Than C#

10 Reasons Why Visual Basic is Better Than C#:

Very nice article. For me, I am using VB.net and C# in the same project for maintenance and new feature.

For me, that's just using different style to write codes. The design is more important. People can use VB write very nice codes, and people can also use c# to write some bad codes! This may explain why the only difference is people not languages.