本文实例讲述了asp.net实现调用存储过程并带返回值的方法。分享给大家供大家参考,具体如下:
/// <summary>
/// DataBase 的摘要说明
/// </summary>
public class DataBase
{
/// <summary>
///DataBase 的摘要说明
/// </summary>
protected static SqlConnection BaseSqlConnection = new SqlConnection();//连接对象
protected SqlCommand BaseSqlComman