v-j-reddy submitted these extension methods

  • GetCurrentDataRow

    The System.Windows.Forms.BindingSource has a property to return the current row as DataRowView object. But most of the time we need this as DataRow to manipulate the data. This extension method checks the Current property of BindingSource for nullity, returns null if it is null and returns the current Row as DataRow object if the Current property is not null.
    C# System.Windows.Forms.BindingSource V J Reddy