S
Stu
Hi,
I have a class that is going to format all the fileds in a form post and
send them in an html email.
How do I pass the Request.Form contenst to a class? I know I can get the raw
data by converting it to a string, but this would mean processing the
string.....which is messy!
This is what I have got so far:
Private m_FormCol As Collection
Public WriteOnly Property formCol() As String
Set(ByVal Value As Collection)
m_FormCol = Value
End Set
End Property
I get the error Specified cast is not valid can't convert VB collection into
'System.Collections.Specialized.NameValueCollection'. If I pass it a
NameValueCollection'...how do I iterate through the items?
Thanks in Advance,
Stu
I have a class that is going to format all the fileds in a form post and
send them in an html email.
How do I pass the Request.Form contenst to a class? I know I can get the raw
data by converting it to a string, but this would mean processing the
string.....which is messy!
This is what I have got so far:
Private m_FormCol As Collection
Public WriteOnly Property formCol() As String
Set(ByVal Value As Collection)
m_FormCol = Value
End Set
End Property
I get the error Specified cast is not valid can't convert VB collection into
'System.Collections.Specialized.NameValueCollection'. If I pass it a
NameValueCollection'...how do I iterate through the items?
Thanks in Advance,
Stu