Top "Datatable" questions

The term "datatable" is ambiguous.

Should I Dispose() DataSet and DataTable?

DataSet and DataTable both implement IDisposable, so, by conventional best practices, I should call their Dispose() methods. However, from what …

datatable dataset dispose idisposable using
Export DataTable to Excel with EPPlus

I want to export a data table to an Excel file with EPPlus. That data table has a property with …

c# excel datatable export epplus
OleDB & mixed Excel datatypes : missing data

I have an Excel worksheet I want to read into a datatable - all is well except for one particular …

excel datatable dataset oledb
Copy DataTable from one DataSet to another

I'm trying to add to a new DataSet X a DataTable that is inside of a different DataSet Y. If …

c# datatable dataset
How to calculate sum of a DataTable's Column in LINQ (to Dataset)?

I'm just started to read up on LINQ and I want to start incorporating it into my code. I know …

c# linq datatable sum
Most common way of writing a HTML table with vertical headers?

Hi all it's been a while since I've asked something, this is something that has been bothering me for a …

html css datatable semantic-markup
Creating a SQL Server table from a C# datatable

I have a DataTable that I manually created and loaded with data using C#. What would be the most efficient …

c# sql-server ado.net datatable
How to get list of one column values from DataTable?

I have DataTable. DataTable dt = new DataTable(); dt.Columns.Add(new DataColumn("id", Type.GetType("System.Int32"))); dt.Columns.Add(…

c# datatable c#-2.0
Print Contents Of A DataTable

Currently I have code which looks up a database table through a SQL connection and inserts the top five rows …

c# sql-server datatable
How to add a button to a column in the DataGridView

DataTable dt = new DataTable(); dt.Columns.Add(new DataColumn("Software Title", typeof(string))); dt.Columns.Add(new DataColumn("Version", typeof(…

c# winforms datagridview datatable datarow