Using VB 2012 and sqlexpress. I have a grid with a hidden column (TaskID) which is filled with the primary key for the task record displayed in that row. Here is the code I use to return one record from the table based on the text in that hidden cell on the selected row.
In this table is a tinyint field for whether the task is complete(1) or not(0). The form has a group of 2 radio buttons - one for complete and one for incomplete. I am having trouble figuring out how to check the correct button based on the returned data.
TIA
Ken
Code:
Dim x As String
x = TaskGrid.ActiveRow.Cells("TaskID").Text
TasksTableAdapter.FillTaskByTaskID(Ds_Tasks.Tasks, x)TIA
Ken