I found similar questions with correct answers. But they're a bit complicated for me. I just want a simple basic statement.
I have:
string sql = "UPDATE tblPopUp
SET PopUp = 'False'
WHERE DisplayNo = 1"
...and:
string sql1 = "SELECT Period
FROM tblPopUp
WHERE DisplayNo = 1"
How can I combine them?