手动在aspx文件的title下面加一行:
<link href="css/yourcss.css" type="text/css" rel="stylesheet">
<link href="css/yourcss.css" type="text/css" rel="stylesheet">
解决方案 »
- 一道笔试题--类的构造过程
- C#声音控制,
- MDI子窗体与父窗体控制问题
- 为什么winpcap列出来的ppp网卡 无法用PcapOpen打开
- Rational有没有提供可以读取建模文件信息的FOR .NET的API?
- string类为何没有ToInt32,ToDouble等方法?
- 请教: 如何打开文件 读取数据库?
- 怎样把.net应用程序编译成机器码?
- windows编程中datagrid控件中可不可以加入combolist控件,实现某一列通过选择来赋值
- 已知一个距离19700101到目前的时间的秒数,如何获取这个时间?
- 我用GDI画个图形,怎么我选不中它.我想画后选中?
- 如何获取listview 中一个组group中的所有项items
在***.aspx页面文件
<HEAD>
<title>注册税务师管理中心-教材订购</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="CSS/stylemain.css" type="text/css" rel="stylesheet">
</HEAD>
//显示AD
function ShowFlashAD(url, width, height)
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="' + width + '" height="' + height + '"><param name="movie" value="' + url + '" /><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><embed src="' + url + '" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="' + width + '" height="' + height + '" allowScriptAccess="always" wmode="transparent"></embed></object>');
}//验证评论信息
function checkTalk()
{
//验证昵称
var CheckNickName = false;
var NickName = document.getElementById("NickTextBox");
var NickNameTest = /[\s\~\!\@\^\*\(\)\`\=\|\\\{\}\[\]\:\"\;\'\<\>\?\,\/]/gi;
if (NickName.value.search(NickNameTest) < 0 && NickName.value != "" ) {
CheckNickName = true;
}
else {
alert("昵称填写错误");
}
//验证评论内容
var CheckPost = false;
var PostText = document.getElementById("PostTextTextBox");
var PostTest = /[\@\^\*\(\)\`\=\|\\\{\}\[\]\:\"\;\'\<\>\?\,\/]/gi;
if(PostText.value == ""){
alert("请填写评论内容");
}else{
if(PostText.value.search(PostTest) < 0){
CheckPost = true;
}else{
alert("签名内容中含有特殊字符");
}
}
if( CheckNickName == true && CheckPost == true)
{
return true;
}
else
{
return false;
}
}