Click here to Skip to main content
15,899,313 members

Comments by Aaron Gerber (Top 1 by date)

Aaron Gerber 20-Feb-23 13:22pm View    
Hmm...actually, what I'm doing is initializing the flag value as true and switching it to false once the data for the datagridview has loaded. As I said, I put a break before the if statement to check what the value of the flag was, and it was true, indicating that the Form1_Load had not yet finished loading the data into the grid. It's simply either misreading the value of the flag or ignoring the fact that it's an if statement.