一、如何让密码框显示密码
在formload时写上这样的语句:txtpwd.attributes.add('value','1234')即可。
二、把数据库中的图片显示在datagrid中,想让有图片的记录显示图片,没有图片的记录不显示图片
public Function imagevisiable(byval imagename as string) as boolean
if trim(imagename).Length > 10 then
return true
else
return false
end if
End Function
<?xml:namespace prefix = asp /> ImageUrl = >
三、打开新窗口:
Response.Write(" <script language="JavaScript">window.open('webform1.aspx','','left=0 ,top=0, scrollbars=yes,width=screen.width,height=screen.height')</script> ")
4、在onload里面屏蔽F5
if (event.keyCode==116){
event.keyCode=0;
event.returnValue=false;
}
四/接口
http://www.yesky.com/SoftChannel/72348977504190464/20031222/1755623.shtml