PC Review


Reply
Thread Tools Rate Thread

!Design -- Passing data from Web User Controls.

 
 
dotnetguy
Guest
Posts: n/a
 
      8th Feb 2004
Hi. I have a web form that contains a custom user control.
This control is a questionnaire with 20 questions that contains
multiple radio buttons, text boxes, and ddl's.

I am currently using a AnswerList class that I defined in the business
layer. It contains only 20 properties, each representing an answer
entered on the user control. When the questionnaire is submitted,
then that class is instantiated, and the 20 public properties are set
to the values in the text boxes, etc. Then another class that does
the "calculations" is instantiated and the AnswerList object is passed
to the appropriate method.

I am trying to determine the best way to pass the values that will be
entered from the control to the business logic layer.

Would a Vb.net "structure", or something else be better for this? If
so, how and where would it be defined.


Many thanks,
shawn
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing databetween user controls Dranreb Microsoft ASP .NET 5 27th Apr 2005 05:07 PM
SQLConnection passing w/ user controls David Gilbert Microsoft VB .NET 4 23rd Nov 2004 09:20 AM
Passing Objects between Web User Controls Richard Payne Microsoft ASP .NET 3 10th Jun 2004 03:02 AM
Passing Proterties Using asp.net user controls Bob Avallone Microsoft Dot NET 0 10th Sep 2003 02:48 PM
Passing parameters to user controls Akira Microsoft ASP .NET 2 2nd Jul 2003 07:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:42 PM.