G
Guest
I have few forms that I am trying just to display the data.
In each form I need to fire different sqlstatements to get the data. Before
executing each sql statement I am opening the connection, executing
sqlreader, closing sqlreader and closing the connection. Sometimes I get
errors like SQL connection is already open or sqlcon is busy fetching etc.
What is the better approach for me to accomplish this.
Thanks
In each form I need to fire different sqlstatements to get the data. Before
executing each sql statement I am opening the connection, executing
sqlreader, closing sqlreader and closing the connection. Sometimes I get
errors like SQL connection is already open or sqlcon is busy fetching etc.
What is the better approach for me to accomplish this.
Thanks