Ejemplo n.º 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     HotMenu.DataSource = ConnSql.Re("select top 5 menuid,COUNT(*) lysl,name=(select name from bbs_menu where id=menuid ) from bbs_ly group by menuid order by 2 desc").DefaultView;
     HotMenu.DataBind();
 }