Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

How to Convert List to DataTable in C# and VB.NET

In this blog I described how to convert list objects to DataTable. There are several method to convert list objects to DataTable. In this blog I used List interface for conversion. It is a generic method, it converts all types of list into DataT...

Getting newest file from specific directory

If you want to get newest file from any specific directory, you can use the following source code: C# code FileInfo GetNewestFile(DirectoryInfo directoryInfo) { return directoryInfo.GetFiles() .Union(directoryInfo.GetDirectorie...

Difference between DataTable.Rows.Add(DataRow) and DataTable.ImportRow(DataRow)?

Hello Reader , When adding a row to DataTable, there are two methods available in C# and VB.Net i.e. DataTable.Rows.Add(DataRow) and DataTable.ImportRow(DataRow). Both do the same functionality, adding a row to DataTable but the main differ...
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: