ASP.NETÍøÕ¾¿ª·¢Öг£Óõ½µÄ¹ã¸æЧ¹û´úÂë
ÔÚASP.NETÏîÄ¿¿ª·¢ÖÐ,»á±»ÒªÇóÌí¼Ó¹ã¸æ,ÓзÆÁЧ¹û¡¢Óйã¸æÂÖÁ÷ÏÔʾ¡¢Æ®¸¡¹ã¸æ¡¢×ó²à¹ã¸æ¡¢ÓÒ²à¹ã¸æµÈ¡£Óñ¾Ìù³ÖÐø¼Ç¼һЩÊÕ¼¯µÄ¹ã¸æЧ¹û¡£Ï£Íû¸øÓÐÐèÇóµÄÅóÓÑÃÇһЩ֧³Ö¡£Ò²Ï£ÍûÅóÓÑÃÇ°ÑÎÒδ¼Ç¼µÄ¹ã¸æÐÎʽҲ¸øÓèÒ»Æð»ØÌù¡£Ê¹±¾Ìù¸ü¼ÓµÄÍêÉÆ£¬Ò²Èøü¶àµÄÅóÓÑÃÇ·ÖÏí¡£
1.·ÆÁЧ¹û
·ÆÁЧ¹û
<html>
<head></head>
<body>
<div style="HEIGHT:85px">
<script LANGUAGE='JavaScript'>
document.ns = navigator.appName == "Microsoft Internet Explorer";
function showStr(str,textWidth,num)
{
if(!document.ns)
{
document.write(str[0]+'<br>')
}
else
{
var wrt="";
wrt+='<table border=0 cellspacing=0 cellpadding=0>';
wrt+='<tr><td>';
wrt+='<div id="icefable1'+num+'">';
wrt+='<table width='+textWidth+' border=0 cellspacing=0 cellpadding=0>';
for (var i in str)
{
wrt+='<tr><td height=20>'+str[i]+'</td></tr>';
} scroll_num=i;
wrt+='</table>';
wrt+='</div>';
wrt+='<div id="icefable2'+num+'" style="position:absolute;z-index:1;visibility:hidden"></div>';
wrt+='</td></tr>';
wrt+='</table>';
document.write(wrt);
}
}
function init_srolltext(num){countnum=0;eval('stopscroll'+num+'=false;');
eval('icefable1'+num+'.scrollTop=0;');
rotatenum=0;
eval('icefable1'+num+'.style.width=0;');
eval('icefable1'+num+'.style.height=marqueesHeight;');
eval('icefable1'+num+'.style.overflowX="visible";');
eval('icefable1'+num+'.style.overflowY="hidden";');
eval('icefable1'+num+'.noWrap=true;');
eval('icefable1'+num+'.onmouseover=new Function("stopscroll=true");');
eval('icefable1'+num+'.onmouseout=new Function("stopscroll=false");');
eval('preTop'+num+'=0; ');
eval('currentTop'+num+'=0;');eval('stoptime'+num+'=0;');
eval('icefable2'+num+'.innerHTML="";');
eval('icefable2'+num+'.innerHTML+=icefable1'+num+'.innerHTML;');
eval('icefable1'+num+'.innerHTML=icefable2'+num+'.innerHTML+icefable2'+num+'.innerHTML;');
eval('setInterval("scrollUp'+num+'(
Ïà¹ØÎĵµ£º
**//// <summary>
x _0O%f+K)B5D /// Ö§³Ö¶ÏµãÐø´«µÄÏÂÔØ´óÎļþµÄº¯Êý Öв©IT½ÌÓýÍø4P z\2b,h-q `
/// </summary>
_;B$A.} S8E#@ D I /// <param name="downloadFil ......
using System.Security.Cryptography;
using System.IO;
using System.text;
/// <summary>
/// ¼ÓÃÜ
/// </summary>
/// <param name="str"> ......
if (FileUpload1.HasFile)
{
string fileContentType = FileUpload1.PostedFile.ContentType;
&n ......
<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="100%" height="100%">
<param name="movie" value="<%= ResolveUr ......
SQL½Å±¾£º
CREATE TABLE tblBooksUpload
(
¡¡DocID int NOT NULL IDENTITY Primary Key ,
¡¡DocTitle varchar (200) ,
¡¡Doc image,
¡¡DocType varchar (50) ,
¡¡Entrydate datetime Default GetDate()
)
Ê×ÏÈÎÒÃÇҪʵÏÖÓû§ÔÚä¯ÀÀÆ÷¶Ë×ÔÓÉÑ¡ÔñÎļþ£¬È»ºóÉÏ´«£¬ÕâÀïÓû§Ñ¡ÔñÎļþ£¬µ±È»ÊÇÒªÇó±ê×¼µÄWindows·½Ê½£ ......