using System.Data.SqlClient;//连接数据库必须的
using System.Configuration;
CommandType所在的命名空间 system.data;
Preparecommand 命名空间 system.data