11 2021 档案
摘要:visual studio设置为使用IIS运行网站时加载项目遇到权限问题的解决方法 我找到的 解决方法是: 打开C:\Windows\System32\inetsrv\config文件夹,打开时弹出的权限询问弹窗里选择“继续”,然后再打开此文件夹下的Export文件夹,同样选“继续”。 这样就拿到这
阅读全文
摘要:select DATEADD(dd,DATEDIFF(dd,0,getdate()),0)
阅读全文
摘要:drop statistics [Tblexamsolu]._dta_stat_231671873_2_8_40_41
阅读全文
摘要:drop index _dta_index_Tblexam_39_1648724926__K4_K3_K14_K2_1_7_8_9_10_11_12 on tblexam ;
阅读全文
摘要:ALTER TABLE dbo.[Tblexam] ADD [IsEnabled] bit null Default ((1));
阅读全文
摘要:window.onbeforeunload = null; window.onunload = null; //window.opener.top.location.href = "/login/login.aspx"; //location window.opener.location.href
阅读全文
摘要:<script type="text/javascript" language="javascript"> $(document).ready(function () { var myVideo = document.getElementById("videoPlayer"); myVideo.ad
阅读全文
摘要:/// <summary> /// 根据url地址 获取返回的json数据 /// </summary> /// <param name="_url"></param> /// <returns></returns> public static string GetSource(string _ur
阅读全文
摘要:public static string GetSign(Hashtable dataht) { string sign = ""; ArrayList akeys = new ArrayList(dataht.Keys); akeys.Sort(); foreach (string skey in
阅读全文
摘要:1. 遇到这种错 是因为iis里缺少配置 选中要访问的项目,在右边功能视图中选择asp 2. 双击ASP 点击右边的“”应用“”
阅读全文
摘要:<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <
阅读全文
摘要:Delete T From (Select Row_Number() Over(Partition By ExamSoluID,UserID, TurnProportion,TurnStandardSectionID order By ID) As RowNumber,* From TblUserT
阅读全文
摘要:A.aspx <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv="Content-Type" content="text/html; charset=utf
阅读全文
摘要:select stuff((select '--'+subjectnamefrom cte_child order by subjectid desc for xml path('')),1,0,'') as subjectname ;
阅读全文
摘要://获取树结构的科目public class GetSubjectTree{ public static List<TreeNode> GetTree(DataTable dt, DataTable _SubjectPopedom) { List<TreeNode> listNodes = new
阅读全文
摘要:with cte_child(id,areaName,pid) as ( --起始条件 select id,areaName,pid from erp_area where id = 44 --列出子节点查询条件 union all --递归条件 select a.id,a.areaName,a.p
阅读全文
摘要:with cte_child(id,areaName,pid,level)as( --起始条件 select id,areaName,pid,0 as level from erp_area where id = 1 -- 优先列出第一节点查询条件 union all --递归条件 select a
阅读全文
摘要:exec sp_updatestats;
阅读全文
摘要:osql -S 服务器地址 -U 用户名 -P 密码 -d 数据库名称 -i 脚 本文件绝对路径
阅读全文
摘要:select * ,主管领导姓名=stuff((select ','+姓名 from B where charindex(','+convert(varchar,b.序号),','+a.主管领导)>0 for xml path('')),1,1,'') from A
阅读全文
摘要:windows server 2016默认是不安装.netframework3.5的,可以在添加删除程序中单独添加。但是有时候系统安装文件不在的时候,找不到安装程序就不能安装成功。 这时候单独下载dotnetfx35直接安装是安装不上的,需要用一下方法进行单独安装: 通过 NetFx3.cab 文件
阅读全文