示例#1
0
 protected void dtlist_ItemCommand(object source, DataListCommandEventArgs e)
 {
     if (e.CommandName == "Reader")
     {
         int          ThemeId = Convert.ToInt32(e.CommandArgument);
         ThemeManager bll     = new ThemeManager();
         bll.AddClick(ThemeId);
         Response.Redirect("~/article.aspx?ThemeId=" + e.CommandArgument.ToString());
     }
 }