我有这样的代码:
Dim ListMyDate = New List(Of MyDate)()
Dim cek As Date = "2017/10/15","2017/10/16"
ListMyDate.Add(New MyDate() With {.ShowDate = cek})
allRecords = ListMyDate.ToArray()
For Each obj As MyDate In ListMyDate
Response.Write(obj.ShowDate.ToString() + ",")
Next
此代码适用于我,但我希望将数据的存储数据结果发送到javascript。