Problem I one of my tools I use the user can define grouping for a DataTable. The criteria are known […]
Tag: .net-datatable
Building equal number of records list object
Problem I am trying to get equal number of records in both columns, even if that means that first column […]
Merge two DataTables by adding corresponding entries
Problem I’ve been looking over internet for a method of combining 2 datatables with exactly the same cells with numbers […]
SQL server database access helper class
Problem using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Configuration; using System.Data.SqlClient; using System.Data; namespace ExamManagement.DLL { public class […]
Vertical & Horizontal Direction of a DataTable
Problem I wanted to have a DataTable with cells in direction that is top to bottom or bottom to top […]
Loose coupling, accessing class properties
Problem I’m trying to get a better understanding of decoupling methods. Right now, I have this method: private bool ContainsLegalFirstName(DataRow […]
Undo/Redo Functionality in DataGridView c#
Problem I have looked at many topics related to this topic, but I could not find or understand for datagridview […]
Making a list of customers who buy the top N items from a supplier
Problem I have a method that works perfectly well and does what it’s supposed to, albeit a little slow (30 […]
Find abstraction for classes which represent tables with differnt amount of colums (based on DataTables)
Problem I have a lot of classes which are principal equal, but they consist small differences so that I canĀ“t […]
Calling functions with different variable types
Problem I need to call the function that will get the value of a datatable cell with the ColIndex, either […]