如何创建sqlhelper数据访问类?
1.添加名为sqlhelper的类,将以上代码复制进去。
2.添加引用
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Xml;