以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  select case 请教  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=55756)

--  作者:hbhb
--  发布时间:2014/8/22 15:15:00
--  select case 请教
大师:为何如下不对?Select Case ta.value  不能进行判断?

dim tx as string

Dim ta As WinForm.ComboBox = e.Form.Controls("ComboBox1")

Select Case ta.value
Case "趋势线性"


tx = "ChartTypeEnum.XYPlot"
Case "直方条形"

tx = "ChartTypeEnum.bar"
Case "圆饼型"

tx = "ChartTypeEnum.pie"
End Select


Chart.ChartType = tx

MessageBox.Show(tx)   



--  作者:Bin
--  发布时间:2014/8/22 15:20:00
--  
Select Case ta.Text