ÇëÎÊjavascript±¨´í£¬ÊÇΪʲô - .NET¼¼Êõ / VB.NET
ÎÒÓÃVS2005ʵÏÖµÄÊÇ£¬µÚÒ»¸öÎı¾¿ò£¬Èç¹û²»ÊäÈëµÄʱºò£¬µã»÷ConfirmµÄʱºò»áµ¯³ö¡°²»ÔÊÐíΪ¿Õ¡±µÄ¶Ô»°¿ò£¬È»ºóÎÒÔÚWEBÒ³ÃæÊä³öµÄʱºò£¬²¢Ã»ÓжԻ°¿òµ¯³ö£¬¶øÇÒÔÚÏÂÃæÓиö´íÎóµÄÐÅÏ¢£º
'document.Form1.txtID' is null or not an object Line:14, Char:2
Default.asp
Code:0
URL: http://localhost/Tool/Default.aspx
ÇëÎÊÎÒ¸ÃÈçºÎ½â¾ö
ÏÂÃæÊÇÎÒÔÚWEBÒ³Ã棬ÓÒ»÷£¬Ñ¡Ôñ¡°ä¯ÀÀ´úÂ롱µÄ½á¹û
HTML code:
<!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>
Delete Burn In RawData
</title><meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1" /><meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1" /><meta name="vs_defaultClientScript" content="JavaScript" /><meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<script language="javascript" type="text/javascript">
// <!CDATA[
function btnConfirm_onclick(button) {
var ret=false;
if (isBlank(document.Form1.txtID.value)) {
alert('Please key in ID.');
document.Form1.txtID.focus();
} else {
Ïà¹ØÎÊ´ð£º
DIM ds as new DataSet
ÎÒÕâÑùÉùÃ÷ ÔõÀÏÊDZ¨ Óû§¶¨ÒåÀàÐÍ䶨Ò壿 Õâ¸öÐèÒªÒýÓÃʲôÂ𣿣¿
Ç°ÌáÊÇDataSet¶ÔÏóÒª´æÔÚ,¾ÍÊǶÔÏóä¯ÀÀÆ÷ÖÐÓÐËü.ûÓоÍÒªÒýÓÃ.
datasetÊÇADO.NET¶ÔÏó
Èç¹ûÄãÓõÄÊÇvb.net£¬ÄÇôÔÚ´ ......
ÎÒÏë°ÑwordÁí´æΪxmlÖ®ºó£¬ÓÃvb¶ÁÈ¡Õâ¸öxmlµÄÄÚÈÝ£¬ÇëÎÊÈçºÎʵÏÖ£¿
dim f as integer
dim b() as byte
dim s as string
dim L as long
f=freefile()
open "abc.xml" for binary access read as #f
......
Êý¾Ý¿âÀïÓÐÒ»¸ö×ֶεÄÄÚÈÝÊǶþ½øÖÆ£¬Ôõô²ÅÄÜ°ÑÕâ¸ö¶þ½øÖƶÁ³öÀ´
ʹÓÃ×Ö½ÚÁ÷¶ÔÏó¿ÉÒÔʵÏÖ
ÀýÈçÏÖÔÚÊý¾Ý¿âÀïÓиö×ֶεÄÄÚÈÝÊÇ0x504B03040A0000000800407F263C3B02465390000000820000000A0000006273CECACCE22E7478 ......
ÏÖÔÚÓиöxmlÎļþÊÇ<?xml version="1.0"?>
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
xm ......
dim a as string,b as string£¬c as string
a="¹¤³Ì±àºÅ,µ¥Î»¹¤³ÌÃû³Æ,·Ö²¿¹¤³Ì±àºÅ"
b="µ¥Î»¹¤³ÌÃû³Æ"
c="µ¥Î»"
Ôõô²ÅÄÜÅжϳöa×Ö·û´®ÖдæÔÚb×Ö·û´®£¬¶ø²»´æÔÚc×Ö·û´®
¿´¿´i ......