Error: The name ‘CommandType’ does not exist in the current context.

Error: The name ‘SqlDbType’ does not exist in the current context.

Add following namespace

using System.Data;

About the Author

avatar