易截截图软件、单文件、免安装、纯绿色、仅160KB

Asp.net 标准控件 (一)

Label——height:高度
              width:宽度
              backcolor:背景色
              forecolor:前景色
              bordercolor:边框色
              borderstyle:边框样式
              bordersize:边框大小
              font:字体
              text:label上的文字
              visible:是否可见
              enable:是否可用
Literal——和label一样,但不能添加样式,一般用于原样显示的时候
TextBox——textmode:文本模式 SingleLine  单行,MultiLine 多行,Password 密码域,
                  row 高度,
                  column  宽度
                  MaxLength:最多输入的字符长度
                  Readonly:只读
Button——onClientClick:客户端点击事件,调用客户端JS,onclick:调用服务器端事件
客户端Button——onclick:调用客户端JS,onserverClick:调用服务器端事件
LinkButton——该按钮与 Button按钮的属性一样,只是显示不同
ImageButton——图片按钮 与 Button按钮的属性一


相关文档:

什么是Asp.Net应用程序

ASP.NET defines an application as the sum of all files, pages, handlers, modules, and executable code that can be invoked or run in the scope of a given virtual directory (and its subdirectories) on a Web application server. For example, an "order" application might be published in the "/order" virt ......

ASP.net

C#:成员变量首字母大写而且前面加下划线
   1.连接对象静态与非静态问题
   2.数据访问类为什么不能派生与DBConnection
   3.Catch的作用,以及为什么可以在这里省掉
   4.在数据访问方法中,为什么不直接实例化     List<NationData> list;
  ......

Asp.net 使用 AXAJ局部刷新无效的解决方法

<httpHandlers>
<remove verb="*" path="*.asmx"/>
<!--
<add verb="*" path="*.asmx" validate="false" type="Microsoft.Web.Script.Services.ScriptHandlerFactory, Microsoft.Web.Extensions, Version=1.0.61025.0 ......

asp.net 几种页面间传值方法总结

一、目前在ASP.NET中页面传值共有这么几种方式:
第一种方法:
  通过URL链接地址传递
 send.aspx: 
protected void Button1_Click(object sender, EventArgs e)   
 {       
     Request.Redirect("Default2.aspx?usern ......

ASP.NET防止重复提交的Javascript脚本

function _doPostBack(){};
if(typeof("__doPostBack")=="function")
{
_doPostBack=__doPostBack;
__doPostBack=_doPostBackNew;
}
document.attachEvent("onmousemove",_onmousemove);
var _isPosting=false;
var _divMask=null;
function _onmousemove()
{
if(_divMask)
with(_divMask.runtimeStyle)
......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号