上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 61 下一页
摘要: 我们可以用javascript获得其中的各个部分1,window.location.href全部URl字符串(在浏览器中就是完整的地址栏)本例返回值:http://www.x2y2.com:80/fisker/post/0703/window.location.html?ver=1.0&id=6#imhere2,window.location.protocolURL的协议部分本例返回值:http:3,window.location.hostURL的主机部分本例返回值:www.x2y2.com4,window.location.portURL的端口部分假如采用默认的80端口(update 阅读全文
posted @ 2013-12-05 08:31 Seaurl 阅读(544) 评论(0) 推荐(0) 编辑
摘要: 如果你还在为 ajax 调用 .net 类库还束手无策的话,相信这篇博客将帮助你解决这个世纪问题!因为Visual Studio 内置了asp.net mvc ,不过当你添加asp.net mvc项目时,你会发现,controller,model和views放在同一个根目录下,就像这样:图一:所以当我把根目录下的controlelr,model删除,另建两个类库,controller,model这样更方便操作,如图二:因为是学习asp.net mvc,所以这样的方式是根据《ASP.NET 设计模式》的,有兴趣的朋友可以买来看看,非常好的一本书!图三:虽然我这样做的,但是出现了一个问题,就是vi 阅读全文
posted @ 2013-12-04 17:20 Seaurl 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 情境:保留表A数据,且A表与B表是一对多关系SELECT tuf.Id,tuf.FileName,tuf.type,tuf.url,tum.MachineId,tum.IsDownland,tum.IsFlagFROM t_UpgradeFile tufLEFT join (SELECT t.* from t_Upgrade_Machine t where t.MachineId='3333' ) tum on tuf.Id=tum.UpgradeFileId 阅读全文
posted @ 2013-12-02 15:59 Seaurl 阅读(269) 评论(0) 推荐(0) 编辑
摘要: var downloadarray = new Array(); //是否要下载的数组(保存的是是否要下载文件,isflag=true)Array.prototype.indexOf = function (val) { for (var i = 0; i -1) { this.splice(index, 1); }};//删除数组元素 mydata = { action: 'SaveUpgradeMachine', jqid: selectmachine[0].JqId, ... 阅读全文
posted @ 2013-12-02 14:24 Seaurl 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 网站环境 IIS6.0,操作系统Windows server2003 sp2,服务器之前已经部署了.net 2.0和asp的网站,现在要部署新开发的.net 4.0网站.本来认为很简单,却遇到了很多问题,下面详细描述下过程:1.官网下载.net framework4.0,下载地址:http://www.microsoft.com/zh-cn/download/details.aspx?id=17718,或者到脚本之家下载(http://www.jb51.net/softs/69112.html),下载后安装.安装后,原有.net 2.0网站的Asp.Net Version会出现自动升级到4.0 阅读全文
posted @ 2013-11-26 08:51 Seaurl 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 每次启动192.168.1.223服务器时,都要执行这个命令!#:service iptables stop 阅读全文
posted @ 2013-11-25 08:45 Seaurl 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 解决办法:两种:第一种:把handlers.js的编码方式改为UTF-8(用记事本打开,选择编码格式为utr-8即可)第二种:在有swfupload控件页面的page_load种加:Response.ContentEncoding = System.Text.Encoding.GetEncoding("GB2312");http://www.cnblogs.com/yinxiangyin/archive/2013/04/16/3024751.html 阅读全文
posted @ 2013-11-19 11:00 Seaurl 阅读(271) 评论(0) 推荐(0) 编辑
摘要: var height = document.body.scrollHeight; parent.document.all("rightFrame").style.height = height; parent.parent.document.getElementById('contentFrame').style.height = height + 100; 阅读全文
posted @ 2013-11-15 17:38 Seaurl 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 后台:using System;using System.Collections.Generic;using System.Linq;using System.Reflection;using System.Web;using System.Web.Script.Serialization;using HotelCheckIn_PlatformSystem.DataService.BLL;using HotelCheckIn_PlatformSystem.DataService.Bll;using HotelCheckIn_PlatformSystem.DataService.Dal;usin 阅读全文
posted @ 2013-11-15 09:14 Seaurl 阅读(402) 评论(0) 推荐(0) 编辑
摘要: 1.整型(xxxint)MySQL数据类型含义tinyint(m)1个字节表示(-128~127)smallint(m)2个字节表示(-32768~32767)mediumint(m)3个字节表示(-8388608~8388607)int(m)4个字节表示(-2147483648~2147483647)bigint(m)8个字节表示(+-9.22*10的18次方)2.浮点型(float和double)MySQL数据类型含义float(m,d)单精度浮点型,8位精度(4字节),m是十进制数字的总个数,d是小数点后面的数字个数double(m,d)双精度浮点型,16位精度(8字节)参数m只影响显示 阅读全文
posted @ 2013-11-14 09:42 Seaurl 阅读(230) 评论(0) 推荐(0) 编辑
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 61 下一页