DataTables will take huge memory like multiples of actual needed. So try to use Plain Old Class Objects and DataReader.
Thursday, May 24, 2012
Wednesday, May 16, 2012
String to Number, DateTime and Boolean conversion
.Net value type classes mostly have a built in static method Parse to convert a String to specific data types.
Example:
Integer.Parse
Long.Parse
Decimal.Parse
Boolean.Parse
DateTime.Parse
Wednesday, May 09, 2012
Object. ToString method
Object is the base class for all the .Net data types
It has one important method ToString which basically can give the string representation of an Object. Implementation of ToString in Object class basically returns the Type name of the given object. When we call ToString on a class that does not override ToString will just return Type name of the given object.
Subscribe to:
Posts (Atom)