接收和发送定义的符号都不一致
狐表
Dim k As String = e.message
If k.startswith("%") AndAlso k.endswith("%")
Dim l() As String = k.Split("%")
Dim b2 As DataRow = Tables("表A").Current.DataRow
Dim c2 As String = "%" & b2 ("第一列") & "$" & b2 ("第二列")& "$" & b2 ("第三列")
c2 &= "%"
e.ReturnValue = c2
End If
If k.startswith("#") AndAlso k.endswith("#")
Dim l() As String = k.Split("#")
Tables("表A").current("第一列") = l(1)
Tables("表A").current("第二列") = l(2)
Tables("表A").current("第三列") = l(3)
End If
asp网页
Protected Sub Button2_Click(sender As Object, e As System.EventArgs) Handles Button2.Click
UDPCommunication("#|" & Text1.Value & "#" & Text2.Value & "#" & Text3.Value & "#" & Text4.Value & "#")
End Sub
如果对aspnet没有感觉的话,还是等狐表下个版本吧,可以自动生成网页