none
Is this my fault? RRS feed

  • Question

  • While creating a new class, I added a line,"using System.Data.sqlClient;" to the top of CS file. I declared an instance variable of sqlCommand, m_Comm, and I defined the variable," m_Comm = new sqlCommand();"

    But, visual studio professional 2013 preview showed a message saying,"Expected class, delegate,or Enumrration" with red line under the name of class, sqlCommand I checked if there was a typo, but,nothing. I can't understand what happened. Would you let me know how I can solve this problem?

    Tuesday, July 23, 2013 12:06 AM

All replies