摘要: 解压 根目录创建my.ini 清空data目录, mysqld --initialize=insecure --user=mysql mysqld -install net start mysql autocommit是一个改变事务提交方式参数,设置为1时,所有改变变的立即生效,也就是说为1时,语句 阅读全文
posted @ 2018-07-14 17:51 坐井观天 阅读(86) 评论(0) 推荐(0) 编辑
摘要: public ActionResult index() { Session["a"] = "aaa"; System.Web.HttpContext.Current.Session["b"] = "bbb"; Response.Redirect("about"); ... 阅读全文
posted @ 2017-04-06 11:33 坐井观天 阅读(974) 评论(0) 推荐(0) 编辑
摘要: 查看进程信息wmic process where name="cmd.exe" get caption,executablepath,commandlinetasklist /fi "imagename eq cmd.exe" 阅读全文
posted @ 2013-10-28 10:06 坐井观天 阅读(151) 评论(0) 推荐(0) 编辑
摘要: --select top 10000 * into #s from searchset statistics time on set statistics io onselect userId,count(*) as searchNum,s.Posttime, p.RootID ,s.urlfrom #s sleft outer join ProductInfo p on s.ProductID like '%' + p.RootID + '%'group by userid, p.RootID,s.Posttime,s.url--dbo.GetPlatform 阅读全文
posted @ 2013-06-20 13:54 坐井观天 阅读(1400) 评论(0) 推荐(0) 编辑
摘要: createtablerpinfo(rpnointidentity(1,1)notnull,snovarchar(10)notnull,rpreasonvarchar(50),rpcontentvarchar(20),rptermsmallint,CONSTRAINT[pk_rpinfo]PRIMARYKEYCLUSTERED([rpno],sno)ON[PRIMARY]) 阅读全文
posted @ 2012-08-17 10:27 坐井观天 阅读(148) 评论(0) 推荐(0) 编辑
摘要: CREATEPROCdbo.usp_OutObjects@dbnamesysname,@PathNVARCHAR(1024)ASBEGINDECLARE@viewPathNVARCHAR(1024),@functionPathNVARCHAR(1024),@procedurePathNVARCHAR(1024),@triggerPathNVARCHAR(1024);SELECT@viewPath=@Path+'Views/',@functionPath=@Path+'Functions/',@procedurePath=@Path+'Procedures 阅读全文
posted @ 2011-12-14 10:38 坐井观天 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 1、添加web引用http://server/reportserver/ReportService2005.asmx?wsdl需要用户名密码2、// 获取服务器报表列表 View CodeReportingServices.ReportingService2005rs=newCnkiStat.ReportingServices.ReportingService2005();//rs.Credentials=System.Net.CredentialCache.DefaultCredentials;rs.Credentials=newSystem.Net.NetworkCredential(&q 阅读全文
posted @ 2011-06-30 10:37 坐井观天 阅读(531) 评论(1) 推荐(0) 编辑
摘要: 1)先将报表生成图片存储于本地代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--stringdeviceInfo="<DeviceInfo><OutPutFormat>PNG</OutPutFormat></... 阅读全文
posted @ 2010-08-16 16:29 坐井观天 阅读(727) 评论(0) 推荐(0) 编辑
摘要: span 与 div 的区别 SPAN 和 DIV 的区别在于: 第一种解释: DIV(division)是一个块级元素,可以包含段落、标题、表格,乃至诸如章节、摘要和备注等。而SPAN 是行内元素。 SPAN 的前后是不会换行的,它没有结构的意义,纯粹是应用样式,当其他行内元素都不合适时,可以使用SPAN。<span>SPAN标记有一个重要而实用的特性,即它什么事也不会做,它的唯一目的就... 阅读全文
posted @ 2007-03-23 08:28 坐井观天 阅读(464) 评论(1) 推荐(0) 编辑
摘要: 1.Server.MapPath("/") 应用程序根目录所在的位置 如 C:\Inetpub\wwwroot\ 2.Server.MapPath("./") 表示所在页面的当前目录 注:等价于Server.MapPath("") 返回 Server.MapPath("")所在页面的物理文件路径 3.Server.MapPath("../")表示上一级目录 4.Server.MapPath("~/... 阅读全文
posted @ 2007-03-22 12:40 坐井观天 阅读(362) 评论(0) 推荐(0) 编辑