DATAGRID

  • Thread starter Thread starter Luca
  • Start date Start date
L

Luca

I'm working in Visual Basic .Net....Visual Studio 2003.

I have a windows application with a datagrid that have as Datasource a
DataTable .

I'd like to create a new datacolumn with a checkbox and this check box must
be checked if another column in the datagrid contain data.

How can i do ??

Thank you
 
You should check out the Expression property of a DataColumn.

It's also available in the Add method of Columns collection:

workTable.Columns.Add("SalesTax", typeof(Double), "Total * 0.086");

Erik
 
Thank you... i read it but i haven't found what i'm looking for...
If u look the example, or if u download it, you can see that there is not a
column without a databinding in a column of a table.
i'd like to add a column with a check box and this check box must be enabled
or disabled another column is empty or not ...
Thank you.
Luca
 
Back
Top