Top "Datatable" questions

The term "datatable" is ambiguous.

How to change DataTable columns order

How to change Datatable columns order in c#. Example: am created sql table type order is Qty,Unit,Id but …

c# datatable
get index of DataTable column with name

I have some code which sets the value of cells in a DataRow by column name i.e. row["ColumnName"] = …

c# asp.net datatable datarow
Looping through a DataTable

Well. I have a DataTable with multiple columns and multiple rows. I want to loop through the DataTable dynamically basically …

c# datatable dataset
Best way to check if column returns a null value (from database to .net application)

I have a table with a DateTime column the column can have NULL values Now I connect to the database …

c# .net datetime datatable null
How to convert a column of DataTable to a List

I have a DataTable with multiple columns. I want to get a List<String> out of first column …

c# .net list datatable
SqlBulkCopy - The given value of type String from the data source cannot be converted to type money of the specified target column

I'm getting this exception when trying to do an SqlBulkCopy from a DataTable. Error Message: The given value of type …

c# datatable sqlbulkcopy
Convert DataTable to IEnumerable<T>

I am trying to convert a DataTable to an IEnumerable. Where T is a custom type I created. I know …

c# datatable ienumerable
Change Row background color based on cell value DataTable

I am using DataTable plugin to display some records. I have 3 rows, Name, Date, Amount. I want the background color …

jquery datatable
How to append one DataTable to another DataTable

I would like to append one DataTable to another DataTable. I see the DataTable class has two methods; "Load(IDataReader)" …

c# .net vb.net datatable
How to convert DataTable to class Object?

I have already developed an application which returns DataTable everywhere. Now my client wants to convert (use some part using …

c# asp.net .net linq datatable