Sometimes we wish to get rid of all the data in a table. One way of doing this is with DROP TABLE, which we saw in the last section. But what if we wish to simply get rid of the data but not the table itself? For this, we can use the TRUNCATE TABLE command. [...]
Microsoft SQL Express 2005 provides enterprise class database performance for free. However it does have some limitations when compared to the full version of SQL Server. But these limitations are not likely to adversely affect most PaperCut NG users. These limitations include
4GB limit on database sizes
Limited to only use 1 CPU
Limited to only use 1GB [...]
http://www.top54u.com/videos-asp.net+2.0/science+++technology/ppxM2tH5hIo/play-video.aspx
http://www.codedigest.com/Articles/ASPNET/52_ASPNET_35_AJAX_and_WebServices__.aspx
http://blogs.microsoft.co.il/blogs/maordavid/archive/2007/05/11/How-to_3A00_-Calling-Web-Services-methods-from-Client-Script-in-ASP.NET-AJAX.aspx
http://greatfriends.biz/webboards/msg.asp?id=57701
http://www.codeproject.com/KB/aspnet/10ASPNetPerformance.aspx
http://www.codeproject.com/KB/ajax/MakingGoogleIG.aspx
ทั้ง used to และ ever แปลได้ว่า “เคย”แต่การใช้คำทั้งสองนี้จะแตกต่างกัน
ever เราจะใช้ในประโยคคำถามและประโยคปฎิเสธ ตามปกติแล้วจะใช้กับประโยค Have
you ever…?ใน perfect tense เช่น
Have you ever been to Chiang Mai?
Have you ever eaten snake meat?
used to ใช้พูดถึงสิ่งที่ทำเป็นนิสัย เป็นกิจวัตร
หรือสถานการณ์ที่เกิดขึ้นเป็นประจำในอดีตซึ่งปัจจุบันไม่ได้ทำแล้ว
I used to eat snake meat, but my wife made me give it up.
SELECT Name, RatingID AS Rating,
CASE RatingID
WHEN ‘R’ THEN ‘Under 17 requires an adult.‘
WHEN ‘X’ THEN ‘No one 17 and under.‘
WHEN ‘NR’ THEN ‘Use discretion when renting.‘
ELSE ‘OK to rent to minors.‘
END AS Policy
FROM DVDs
ORDER BY Name;
Creating/Setting properties of User Control in ASP.NET
http://www.dotnetfunda.com/articles/article16.aspx
How to pass a value from User Control to the Page
http://www.dotnetfunda.com/articles/article97.aspx
http://www.akadia.com/services/dotnet_delegates_and_events.html
Delegate เป็นการทำ reference to function หรือเป็นตัวแทนของฟังก์ชันได้
ตัวแปร delegate จึงสามารถกำหนดไปชี้ไปยังฟังก์ชั่นไหนก็ได้
ที่มีรูปแบบ arguments และ return data type ที่เหมือนกัน เช่น
CODE
Delegate Function MathOperation(a As Double, b As Double) As Double
เป็นการกำหนดว่ามี delegate ตัวหนึ่งชื่อ MathOperation
ที่มี function signature ที่รับ argument ชนิด double สองตัว
และให้ผลลัพธ์คืนค่าเป็น double ด้วย
ต่อมาเขียนโค้ดว่า
CODE
Private SelectedOperation As MathOperation
หมายถึงว่าตัวแปร SelectedOperation จะใช้ชี้ไปหาฟังก์ชั่นใดๆ ก็ได้ที่
มี function signature เหมือนที่กำหนดไว้ที่ delegate MathOperation
ผมอาจจะมีฟังก์ชั่นบวกเลข เช่น
CODE
Private Function Add(v1 As Double, v2 As Double) [...]
http://weblogs.asp.net/dwahlin/archive/tags/Video/default.aspx
http://blogs.interfacett.com/dan-wahlins-blog/2007/1/18/video-creating-custom-events-and-delegates-with-c.html
http://www.bestechvideos.com/2007/01/18/video-creating-custom-events-and-delegates-with-c
[youtube=http://www.youtube.com/watch?v=Z4rAA21NPCI]