private void showflash() { RBLselect.ClearSelection(); int icn = DDLstore.Items.Count; if (icn > 0) { bool ishtm = false; string Wurl = DDLstore.SelectedValue; string ext = LearnSite.Common.WordProcess.getext(Wurl); string htmname = ""; if (string.IsNullOrEmpty(ext)) { ext = "htm"; ishtm = true; DDLhtmlname.Visible = true; htmname = DDLhtmlname.SelectedValue; } else { DDLhtmlname.Visible = false; } int cur = DDLstore.SelectedIndex + 1; Labelnum.Text = cur.ToString() + "/" + icn.ToString(); if (ishtm) { Labelnum.ToolTip = LearnSite.Common.WordProcess.GetSnumhtm(Wurl); } else { Labelnum.ToolTip = LearnSite.Common.WordProcess.GetSnum(Wurl); } Literal1.Text = LearnSite.Common.WordProcess.SelectWriteTeaNew(ext, Wurl, true, htmname); GetScore(Labelnum.ToolTip); if (ext == "sb" || ext == "sb2") { string Mid = Request.QueryString["Mi"].ToString(); string Wnum = Labelnum.ToolTip; LearnSite.BLL.Works wbll = new LearnSite.BLL.Works(); string wid = wbll.GetWid(Mid, Wnum); if (!string.IsNullOrEmpty(wid)) { Hlcode.NavigateUrl = "~/Student/codeproject.aspx?id=" + wid; Hlcode.Visible = true; Hlshare.NavigateUrl = "~/Student/codeshare.aspx?id=" + wid; Hlshare.Visible = true; } } } else { Literal1.Text = "当前没有学生作品"; } }