I keep getting the following errors in my program:
\'System.Windows.Forms.TextBox.Text\' is a \'property\' but used like a \'method\'
and>
I had the same issue and realized that removing the parentheses worked. Sometimes having someone else read your code can be useful if you have been the only one working on it for some time.
E.g.
cmd.CommandType = CommandType.Text();
Replace: cmd.CommandType = CommandType.Text;