I expose my doubt, I have a Vb.net application, in which a label marks a condition of 1 or 2, if it is 1, I insert a record in a field of a BD that has a busy field = 0, but if it is 2, I need you to look for two contiguous fields with the occupied field = 0 and to insert the same information in the two fields.
The format of the fields is:
I would need you to search for the first two contiguous fields that have occupied = 0.
I've been thinking about it for a while and I do not know how to do it