12.10 删除视频
作者:互联网
1.创建好删除页面,后写后台
2.用一般处理程序写
//调用bll里用videoId删除的方法
IVideoManager videoManager = new VideoManager();
public void ProcessRequest(HttpContext context)
{
//获取videoId
var videoId= context.Request.QueryString["videoId"];
if (string.IsNullOrWhiteSpace(videoId))
{
return;
}
//根据Id删除数据
videoManager.DeleteVideo(videoId);
context.Response.End();
标签:视频,End,删除,videoManager,videoId,context,12.10,DeleteVideo 来源: https://www.cnblogs.com/Lsazl/p/15671726.html