Hello,
I am having an issue trying to add a checkbox field to my DataGrid. I have the following Code but it does not display my checkbox. Any help is greatly appreciated.
Dim myconnection1 As New SqlConnection(myconn)
Dim dtcCheck As New DataColumn("Select")
dtcCheck.DataType = System.Type.GetType("System.Boolean")
dtcCheck.DefaultValue = False
Dim sa As New SqlDataAdapter("SELECT * FROM therapy", myconnection1)
sa.Fill(ds, "Therapy")
DataGridView1.DataSource = ds.Tables("Therapy")
ds.Tables.Add.Columns.Add(dtcCheck)
Thank You