[size=24px]拿到 ADODB.RecordSet 后 我想做這樣一個邏輯
String a ;
For(int i =0, i<10, i++){
if(item(i)!=strState){
if(strCountry="CH"){
a = "kk";
}else{
a="";
}
}else{
a="";
}
}
用vb方式實作
uj5u.com熱心網友回復:
大神們 幫幫忙!!!!!uj5u.com熱心網友回復:
說你想干什么。從你的代碼很難猜出你的需求。uj5u.com熱心網友回復:
Option Explicit
Dim a As String
Dim i%
For i = 0 To 10
If Item(i) <> strState Then
If strCountry = "CH" Then
a = "kk"
Else
a = ""
End If
Else
a = ""
End If
Next
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/54296.html
標籤:VB基礎類
上一篇:GetValueFromINIFile后面變數的問題
下一篇:unity3d
