In simple sentences answer these questions please.

1- What is the difference between a class and an instance of this class (e.g. frmEdit is a form class, and myEdit as New frmEdit)?

2- What is a connection string and why it it needed to connect to a database?

3- You create a new variable Dim mySQLConnection as New SqlConnection(strConnection), but it gives you an error. You know that the connection string strConnection is correctly initialized. What is most likely the problem?

4- What are the consequences of forgetting to close an open connection after it was used?

5- In the following line, what is parBranchCode and what is @BranchCode?

Dim parBranchCode As New SqlParameter(“@BranchCode”, SqlDbType.VarChar)

"Is this question part of your assignment? We can help"