public class ShowVideoContent : System.Web.UI.UserControl
{
protected System.Web.UI.WebControls.Literal lt_reader;
protected System.Web.UI.WebControls.Literal lt_vdate;
protected System.Web.UI.WebControls.Literal lb_author;
protected System.Web.UI.WebControls.Literal lt_resource;
protected System.Web.UI.WebControls.Label lb_title;
Literal lt_src;
private void Page_Load(object sender, System.EventArgs e)
{
if(Request.QueryString["id"] != null)
{
int id = int.Parse(Request.QueryString["id"].ToString());
VideoContent vc = VideoContent.Find(id);
lt_reader.Text = vc.Announcer;
lt_vdate.Text = vc.Vdate.ToShortDateString();
lb_author.Text = vc.Author;
lt_resource.Text = vc.Resource;
lb_title.Text = vc.Videotitle;
lt_src.Text = vc.Linkurl;
}
}
}
能给个注释介绍一下吗
我以前没用过
不知道它是干什么的