1.asp中: <%Session.Timeout = 时间%> 或 <sessionState mode="InProc" timeout="1"></sessionState> 2.IIS中: 开始 -> 设置 -> 控制面板 -> 管理工具 -> 计算机管理 -> 服务和应用程序 -> Internet信息服务 -> 默认WEB站点 -> 属性 -> 主目录 -> 配置 -> 应用程序选项 -> 启用会话状态 -> ...
比较简单,记录以备查,有问题可以mailto:daniel.wuz@gmail.com 互相交流,请多指教 1.层次结构 2.API 参考附件
参考: http://topic.csdn.net/t/20040717/14/3183993.html <div style="z-index:-1"> <!--1.设置FLASH为底层--> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width=" ...
  • 01:16
  • 浏览 (30)
  • 评论 (0)
项目做开发时,使用了一个自定义控件,代码如下: 控件页面段 KnowtypeCtrl.ascx: <%@ Control Language="C#" AutoEventWireup="true" CodeFile="KnowtypeCtrl.ascx.cs" Inherits="Controls_WorktypeCrtl" %> <asp:DropDownList ID="ddlKnowtype" runat="server" CssClass="fixedwidth"></asp:DropDownList> 页面隐藏代码段 [ValidationPrope ...
参考: Select * From (Select Pkid, Knowtype, Worktype, Authority, Score, Question, Answer, Deptcode, Inputperson, Inputdate, Choosetype From t_Chooseitem Where 1 = 1 Order By Dbms_Random.Value) Where Rownum <= 1
  • 15:16
  • 浏览 (22)
  • 评论 (0)
<asp:Label>控件的内容如果比较多,超过控件列宽,这时如果是汉字的话,会自动换行,如果内容只是字母,则不会换行,而是把屏幕撑长,直到显示完为止,界面就显得比较难看。 百度了一下,找到解决办法,只要在style中加入如下一句: style="word-break:break-all" 但是整个项目有万多个label,若一个个改恐怕不知道猴年马月才能改完,于是我在整个css中定义label的显示: label { word-break:break-all; } 刷新页面,咦?不起作用。 查看页面源码,原来<asp:Label>并没有被解释为<label>语 ...
请参见附件
  • 18:17
  • 浏览 (35)
  • 评论 (0)
  • 分类: JS
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>请调整浏览器窗口</title> <meta http-equiv="content-type" content="text/html; charset=gb2312"> </head> <b ...
  • 17:06
  • 浏览 (57)
  • 评论 (0)
  • 分类: JS
ASP.NET AJAX入门系列(4):使用UpdatePanel控件(一)
1.录入excel测试表格,test.xls。 2.另存为.csv格式 3.创建sql*loader控制文件test.ctl,内容如下: Load data Infile 'c:\test.csv' insert Into table test Fields terminated by ','(column1,column2,column3,column4,column5) 需要将数据文件拷贝到对应位置 4.到数据库中建立对应的测试表test create table test ( column1 Varchar2(10), column2 Varchar2(10), colu ...
  • 09:16
  • 浏览 (142)
  • 评论 (0)
daniel.wuz
搜索本博客
最近加入圈子
存档
最新评论