Dim req As DBRequestManager = CreateRequest
Dim cmd As DBCommand = CreateCommand("select_yuefenkongzhi",Array("是"))
Wait For (req.ExecuteQuery(cmd, 0, Null)) JobDone(j As HttpJob)
If j.Success Then
req.HandleJobAsync(j, "req")
Wait For (req) req_Result(res As DBResult)
req.PrintTable(res)
Dim data As List
data.Initialize
For Each row() As Object In res.Rows
Dim val1 As String = row(res.Columns.Get("yuefenkongzhi"))
data.Add(Array(val1))
Next
InputListAsync(data,"请选择要编辑的月份:",0,False)
Wait For InputList_Result (Index As Int)
If Index <> DialogResponse.CANCEL Then
b=data.Get(Index)
End If
Dim cmd As DBCommand = CreateCommand("select_yuefenkongzhi",Array("是"))
Wait For (req.ExecuteQuery(cmd, 0, Null)) JobDone(j As HttpJob)
If j.Success Then
req.HandleJobAsync(j, "req")
Wait For (req) req_Result(res As DBResult)
req.PrintTable(res)
Dim data As List
data.Initialize
For Each row() As Object In res.Rows
Dim val1 As String = row(res.Columns.Get("yuefenkongzhi"))
data.Add(Array(val1))
Next
InputListAsync(data,"请选择要编辑的月份:",0,False)
Wait For InputList_Result (Index As Int)
If Index <> DialogResponse.CANCEL Then
b=data.Get(Index)
End If