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.NameValueCollectio n'. If I pass it a
NameValueCollection'...how do I iterate through the items?
Thanks in Advance,
Stu
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.507 / Virus Database: 304 - Release Date: 04/08/2003