OmriDulla
New member
- Joined
- Nov 19, 2023
- Messages
- 4
- Programming Experience
- 1-3
I am trying to connect to server and get data from database, here is the code:
But I am getting "Connection must be valid and open." error when cmd.ExecuteReader();
Here is the error:
Note: My Ip is added to remoteSQL, and connection opens, the error is when cmd.ExecuteReader();
But I am getting "Connection must be valid and open." error when cmd.ExecuteReader();
Here is the error:
Note: My Ip is added to remoteSQL, and connection opens, the error is when cmd.ExecuteReader();