Visual Studio 2015 VB.net How to find record in MS Access database and disable button in form?
问题 i am trying to load a form, but when loading must go to a access database and check if a record with the button text and today date exist, if it exist then disable the button. I have about 50 button in the form. NOTE: check my codes below, they works for 4 or 5 but the other ones not working. i have no error message. Maybe if someone have a better way to do this i will be very thanks full .This is my loading form Imports System.Data.OleDb Public Class Wells Dim provider As String Dim dataFile