以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.net/bbs/index.asp)
--  专家坐堂  (http://foxtable.net/bbs/list.asp?boardid=2)
----  e.getvalues传值问题  (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=176966)

--  作者:ycs5801
--  发布时间:2022/5/5 10:05:00
--  e.getvalues传值问题

filter.htm

...

wb.AddForm("", "form2", "gylist.htm")

With wb.AddButtonGroup("", "btg2", False) \'垂直排列
          .Add("btn2", "确认", "button", "gylist.htm?Date = today")        

End With

 

gylist.htm

 

Dim e As RequestEventArgs = args(0)
Dim wb As New WeUI
Dim flt As String
  MessageBox.Show(e.GetValues("date"))

 

现在这个显示是空值,请问哪里错了?我只是判断是否有这个键,键值无所谓。


--  作者:有点蓝
--  发布时间:2022/5/5 10:09:00
--  
.Add("btn2", "确认", "button", "gylist.htm?Date=today")    =前后去掉空格

MessageBox.Show(e.GetValues("Date"))
--  作者:ycs5801
--  发布时间:2022/5/5 10:14:00
--  
谢谢老师