Response.Redirect(“http://www.phuketdotnet.org”)
เนื่องจากว่า wordpress ที่นี่ ไม่รู้เป็นไง บางทีก็เข้าไม่ได้ครับ บางทีช้ามากๆ เลยขอชิ้งดีกว่า
ช่วยกันเป็นกำลังใจต่อไปที่ phuketdotnet ครับ
ให้ความเห็น
เปิด Firefox ใน Firefox
ลองเอา path นี้ ไปใส่ใน url ครับ (ด้วย Firefox)
chrome://browser/content/browser.xul
ยังไงก็ลอง เปิดด้วย IE ดูด้วยนะครับ
Code Snippet(3)> clear ค่า 20 textbox ภายในคลิกเดี๋ยว
ทำการวนลูปภายใน form, แล้วตรวจสอบว่าเป็น textbox หรือเปล่า
foreach (Control tx in this.Controls)
{
if (tx.GetType() == typeof(System.Windows.Forms.TextBox))
{
tx.Text = "";
}
}
Code Snippet(2)>หาความแตกต่างระหว่างวันที่
ใช้ TimeSpan ช่วยในการเก็บตัวเลข เพื่อใช้ในการแสดงในรูปแบบแตกต่างกันไป
DateTime d1 = new DateTime( 2000, 7, 13 );DateTime d2 = new DateTime( 2003, 12, 5 ); TimeSpan s = d2 - d1; int numberofdays = s.TotalDays
References
For more information on the DateTime structure visit MSDN at microsoft here
For more information on the TimeSpan structure visit MSDN at microsoft here
