|
|
|
VB.NET Array ช่วยดูโค้ดให้หน่อยคะแจ้ง Error Expression Expected |
|
|
|
|
|
|
|
Code (VB.NET)
Dim U_ChkTeeth() As String = {U_ChkTeeth1.Checked, U_ChkTeeth2.Checked, U_ChkTeeth3.Checked & _
,U_ChkTeeth4.Checked, U_ChkTeeth5.Checked, U_ChkTeeth6.Checked & _
,U_ChkTeeth7.Checked, U_ChkTeeth8.Checked, U_ChkTeeth9.Checked & _
,U_ChkTeeth10.Checked, U_ChkTeeth11.Checked, U_ChkTeeth12.Checked & _
,U_ChkTeeth13.Checked, U_ChkTeeth14.Checked, U_ChkTeeth15.Checked & _
,U_ChkTeeth16.Checked}
Tag : ASP.NET, Web (ASP.NET), VS 2005 (.NET 2.x)
|
|
|
|
|
|
Date :
2012-02-09 20:24:58 |
By :
MinNiie |
View :
1959 |
Reply :
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Code (VB.NET)
Dim array() As String = {"dog", "cat", "fish"}
น่าจะแบบนี้ครับ
|
|
|
|
|
Date :
2012-02-10 17:06:34 |
By :
webmaster |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Code (VB.NET)
U_ChkTeeth1.Checked
มันเป็นข้อมูลชนิด boolean ป่าวคับ ต้องใช้
Code (VB.NET)
U_ChkTeeth1.Checked.ToString
|
|
|
|
|
Date :
2012-02-10 19:16:04 |
By :
NOOM |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 05
|