SELECT *, CAST(0 AS BIT) AS CheckColumn FROM SampleDataTable2. Add column to the datatable after you fill it with data:
Dim col As DataColumn = New DataColumn("CheckColumn", GetType(Boolean)) col.AllowDBNull = False col.DefaultValue = False SampleDataSet.Tables("SampleDataTable").Columns.Add(col)Either way, do not forget to set AllowNull property of the column style to the false, or your checkboxes will switch between Unchecked, Checked and Grayed.
Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000) br>
VB (.NET) - what other language do you need in the whole Universe?...