摘要: Select distinct case when BranchCourseId is null then Tb_Client.ThreePhaseKind else BranchCourseId end BranchCourseId, Tb_Client.* from Tb_Client inner join Tb_Class_Client on Tb_Client.id = Tb_Class_Client.clientIdinner join Tb_Class on tb_class_client.classid = tb_class.idinner join tb_course on t 阅读全文
posted @ 2012-12-20 15:10 过往云烟 阅读(109) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 在页面中输出javascript脚本 /// </summary> /// <param name="script">要输出的javascript脚本</param> public static void ResponseScript(string script) { if (Anthem.Manager.IsCallBack) { Anthem.Manager.AddScriptForClientSideEval(script); } else { Page page = HttpCont 阅读全文
posted @ 2012-12-20 10:56 过往云烟 阅读(126) 评论(0) 推荐(0) 编辑
摘要: DECLARE myCURSOR INSENSITIVE CURSORFOR select id from Tb_Class_Client WHERE ClassID = 694 and ClassNumber = ''DECLARE @id varchar(50), @num intOPEN myCURSORFETCH NEXT FROM myCURSOR INTO @idWHILE @@FETCH_STATUS = 0BEGINdeclare @ClassNumber varchar(3)select @ClassNumber = '0'+ convert( 阅读全文
posted @ 2012-12-20 10:55 过往云烟 阅读(164) 评论(0) 推荐(0) 编辑