我的位置:首頁 > 電腦網路 > 程式語言

請問這幾句怎麼翻譯?

 
Public UserName As String
Public PassWord As String
Public Counter As Integer


還想問一下Counter = Counter + 1是代表什麼意思
   分享  引用  檢舉  編輯  刪除
 
        
 
Public UserName As String ---->宣告全域變數"UserName"為字串
Public PassWord As String ---->宣告全域變數"PassWord"為字串
Public Counter As Integer ---->宣告全域變數"Counter"為整數

右邊的Counter+1得到的答案放到左邊的Counter值
   分享  引用  檢舉  編輯  刪除
 
QUOTE:
作者:B 帥氣!?不要噓 回覆日期:2007-06-06 21:47:52

Public UserName As String ---->宣告全域變數"UserName"為字串
Public PassWord As String ---->宣告全域變數"PassWord"為字串
Public Counter As Integer ---->宣告全域變數"Counter"為整數

右邊的Counter+1得到的答案放到左邊的Counter值


謝謝你

那再請問一下

Adodc1.Visible = False

While Not Adodc1.Recordset.EOF

If b = Adodc1.Recordset.Fields(0) Then
Text1.Text = Adodc1.Recordset.Fields(0)
Text2.Text = Adodc1.Recordset.Fields(1)
Text3.Text = Adodc1.Recordset.Fields(2)
Text4.Text = Adodc1.Recordset.Fields(3)
Text5.Text = Adodc1.Recordset.Fields(4)
Text6.Text = Adodc1.Recordset.Fields(5)
Text7.Text = Adodc1.Recordset.Fields(6)
f = Adodc1.Recordset.Fields(7)

Picture1.Picture = LoadPicture(p & "" & f)

這是資料庫結合VB的程式
   分享  引用  檢舉  編輯  刪除
 
 
 

 
 
注意:非註冊用戶沒有發表文章的權利。  
帳號:  沒有註冊?    密碼: 忘記密碼?