faizan ahmad

Usually the things which were not a straight Google

  Home  |   Contact  |   Syndication    |   Login
  17 Posts | 0 Stories | 68 Comments | 0 Trackbacks

News

Archives

Post Categories

.NET

ASP.NET

December 2011 Entries

Here is a extension method which can be used to perform the Delete operation on a DataTable just like the select i.e. using a filterExpression: using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; public static class MyExtensions { /// <summary> /// Delete row based on filterExpression /// </summary> /// <param name="dt"></param> /// <param name="filterExpression"> just like select </param> /// <returns> number of ......