I have two tables. Most of the data is coming from the first table but there is a second table which has a column which I want to present in my UI
Here is my SQL Query
String sqlQuery = "SELECT u.CallerName, t.* FROM users u INNER JOIN tickets t ON u.id = t.user WHERE u.CallerName = 'tim.smith'";
I am using WinForms
If your query result is DataTable, then you can use Merge function to merge two table.
Or if your query result is List, then you can use same approach as in DataTable case, using AddRange function: