sql面试语句与后台调用js提示语句

select bumen,name=stuff((select ','+rtrim( name) from Table_1 where t.bumen=bumen order by name for xml path('')),1,1,'') from Table_1 t

AddInfo.AddJsCode(this, "alert('上传失败,数据没有导入!');");
 public static void AddJsCode(Page CustomPage, string jsStr)
        {
            CustomPage.ClientScript.RegisterClientScriptBlock(CustomPage.GetType(), "js", "<script type=\"text/javascript\">" + jsStr + "</script>", false);
        }

posted on 2013-06-27 12:43  平小  阅读(227)  评论(0编辑  收藏  举报