<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Azan 黃贊臣 &#187; asp</title>
	<atom:link href="http://tommy.ironman.tw/tag/asp/feed/" rel="self" type="application/rss+xml" />
	<link>http://tommy.ironman.tw</link>
	<description>網頁設計文章的蒐集與整理</description>
	<lastBuildDate>Mon, 06 Sep 2010 17:03:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>ASP怎麼避免Insert資料時有空字串會出現錯誤</title>
		<link>http://tommy.ironman.tw/asp-insert-error-control/</link>
		<comments>http://tommy.ironman.tw/asp-insert-error-control/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 03:16:21 +0000</pubDate>
		<dc:creator>Azan</dc:creator>
				<category><![CDATA[程式設計]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[dreamweaver]]></category>

		<guid isPermaLink="false">http://tommy.ironman.tw/?p=58</guid>
		<description><![CDATA[知識家有網友問 Here 怎麼避免Insert資料時有空字串會出現錯誤 只要加一個MM_IIf的Fuction就可以了 &#60;% name = replace(trim(request(&#34;name&#34;)),&#34;'&#34;,&#34;''&#34;) NEWS_PIC = replace(trim(request(&#34;NEWS_PIC&#34;)),&#34;'&#34;,&#34;''&#34;) ' IIf implementation Function MM_IIf(condition, ifTrue, ifFalse) If condition = &#34;&#34; Then MM_IIf = ifFalse Else MM_IIf = ifTrue End If End Function set rs = server.createobject(&#34;adodb.recordset&#34;) sql = &#34;INSERT INTO INDEX_NEWS(NEWS_PIC) VALUES('&#34; &#38; MM_IIF(NEWS_PIC, NEWS_PIC, null) &#38; &#34;')&#34; 'response.write sql 'response.end cnn.Execute(sql) %&#62;]]></description>
		<wfw:commentRss>http://tommy.ironman.tw/asp-insert-error-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用DreamWeaver一次新增多筆資料的方法</title>
		<link>http://tommy.ironman.tw/dreamweaver-insert-multi/</link>
		<comments>http://tommy.ironman.tw/dreamweaver-insert-multi/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 15:23:46 +0000</pubDate>
		<dc:creator>Azan</dc:creator>
				<category><![CDATA[程式設計]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[dreamweaver]]></category>

		<guid isPermaLink="false">http://tommy.ironman.tw/?p=42</guid>
		<description><![CDATA[這是結合DW的插入紀錄語法 與重複區域的語法 二者結合改裝出來的 完全不用手動輸入程式 只需把DreamWeaver自動產生出來的程式 修修剪剪就成了 辦法是人想出來的 先在網頁上建立一個資料集 然後將該筆資料集加上重複區域 DW會在資料集的上下方加入While的語法 將資料集包住 如下： &#60;% While ((ShowClassNameRep__numRows &#60;&#62; 0) AND (NOT ShowClassName.EOF)) %&#62; 資料集... &#60;% ShowClassNameRep__index=ShowClassNameRep__index+1 ShowClassNameRep__numRows=ShowClassNameRep__numRows-1 ShowClassName.MoveNext() Wend %&#62; 然後我們在頁面上增加一個插入紀錄的表單語法 主要要有Submit按鈕與DW自動產生的2個隱藏標籤 &#60;input name=&#34;MM_insert&#34; type=&#34;hidden&#34; value=&#34;form1&#34; /&#62; &#60;input name=&#34;MM_recordId&#34; type=&#34;hidden&#34; /&#62; 在插入紀錄的一大堆DW自動產生的語法中 將剛剛重複區域的語法包在要寫入的紀錄上下 &#60;% Dim MM_editAction MM_editAction = CStr(Request.ServerVariables(&#34;SCRIPT_NAME&#34;)) If (Request.QueryString &#60;&#62; &#34;&#34;) Then MM_editAction = MM_editAction [...]]]></description>
		<wfw:commentRss>http://tommy.ironman.tw/dreamweaver-insert-multi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
