表示层:
 int ID = int.Parse(Request.QueryString["ID"]);
        bll.Update_Hit(ID);
        if(bll.Get_VideoURL(ID).Read())
        {
            string URL = bll.Get_VideoURL(ID).GetValue(6).ToString();
            Response.Redirect(URL);
            Response.End();
        }
会提示"不存在此行此列"如果重新声明一个DataReader对象来使用就不会..这样的话不是破坏多层结构了么...基类的方法:
public static OleDbDataReader ExcuteReader(string strSQL)
        {
            OleDbConnection Connection = new OleDbConnection(ConnString);
            OleDbCommand Cmd = new OleDbCommand(strSQL,Connection);
            try
            {
                Connection.Open();
                OleDbDataReader MyReader = Cmd.ExecuteReader(CommandBehavior.CloseConnection);
                return MyReader;
            }
            catch(Exception Ex)
            {
                throw new Exception(Ex.Message);
            }
        }