A simple thing to do would be to write a .NET webservice that takes a number of 
parameters that matches the set of properties that the SurveyDataObject 
requires, create a SurveyDataObject, sets its properties to the parameters, and 
then submit it to the Post.SurveyPost() method.  After it's written, call that 
webservice from CF after getting the correct values from a CF form.  It's not 
necessary to understand the internals of the .NET code if you can access its 
methods.


>Toby,
>To me, who is a novice at .NET, it looks like that code is doing a simple
>lookup and insert into the db using the information from the form.  It is
>using the e-mail as the item to match on and then inserting the answers from
>the survey into the DB using the methods written in .NET (this is just a
>sub-sample of the entire application as it is calling some other methods)
>
>But what it is clearly stating, is that it is expecting either a 0 or a 1
>for whether or not the respondent likes ice cream, and that the numerical
>values for hair color need to be inserted instead of the actual name.  Also
>looks to be validating and formating the Postal Code correctly, but all in
>all pretty straight forward stuff.  Do you need to write CF to interact with
>the .NET or just to replace what it is doing?
>
>Rob
>
>On Thu, Oct 23, 2008 at 8:37 AM, Toby King <[EMAIL PROTECTED]> wrote:
>
>> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314305
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to