-
Everyday you learn something new. You do. That is if you let yourself to be taught everyday. I didn't know that you could solve this expression string in .NET in one line of code: "4 + 5 + 10 - 4 / 5 * 2" using System; using System.Collections.Generic; using System.Linq; using System.Text;...
-
Here's a small trick i use alot. Question : What's the easiest way to get the distict rows of data in a DataTable and DataView in .NET 2.0? Answer : The easiest way to get distinct DataRows in a DataTable or DataView is by using the DataView.ToTable() method. Now lets demonstrate. Assuming that...
-
.NET 2.0 introduces to us the class known as DBProviderFactories which enables us to access available providers on a machine. the DBProviderFactories class has method called GetFactoryClasses() that returns a DataTable that contains any class that is registered on the GAC that implements the DBProviderFactory...