Top "Datacolumn" questions

how to find the max in a datacolumn of datetime?

I have a DataColumn of DateTime, I would like to know how I can have only the sooner date (min) …

c# datetime max datacolumn
Why DataColumn.Caption doesn't work?

I am trying to create a DataTable and bind it to a DataGridView. It works, but I can't set columns …

c# .net datacolumn
Create ADO.NET DataView showing only selected Columns

In C# & .NET, can one create a DataView that includes only a proper subset of the DataColumns of a …

c# .net datatable dataview datacolumn
how to convert the entire content of a DataTable column to a delimited string in C#?

I am retrieving data from an MSSQL server using the SqlDataAdapter and DataSet. From that DataSet I am creating a …

c# asp.net datatable dataset datacolumn
How do I use IF/ELSE or CASE In DataColumn.Expression?

I have a table with 1 column: 'Status' I want to add in another column named 'Action', its value will be …

c# sql expression datacolumn
DataType for Saving Images in DataColumn of DataTable

I have a seemingly simple problem, I have created a DataTable dynamically and I add rows to it just fine. …

c# datagridview datatable datagridviewcolumn datacolumn
C# Datatable: Computing the average in a column

I'm trying to get the average P&L in a column. The column is of type double, however I …

c# datatable datacolumn
In WPF, how can I bind a datagrid column to a specific column of a datatable?

I have a Datatable with many columns, and a datagrid in which I need to display only a few of …

wpf datagrid datatable datacolumn
Programatically set the width of a DataColumn for use with a DataGrid

I assign a column programmatically to a DataTable like this: myDataTable.Columns.Add(myDataColumn); Is there a way to programmatically …

wpf datacolumn
Best way add a new column with sequential numbering in an existing data table

I have a non empty datatable . What is the best way to add another column to it that has sequential …

c# .net datatable datacolumn