473,394 Members | 1,946 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

More design questions here..

Hi!

This is a long one :-) Please correct me if I *did* something wrong and help
me with my questions (at the end)
I'm learning C# and .NET but good at SQL.

I'm working on portal and writing Survey module.
This module is a web control.

Here is simple functionality:

1. Support Multi-choice questions
2. Support Single-choice questions.
3. Support Results view (as bars)
4. Support sureys view (as links)
5. Display message "No surveys available"

I sorted out DB fucntionality and wrote C# class supporting all DB
functionality and presenting info as main class containing child array of
classes (for questions).

Here is things I'm not comfortable with:

1. Since this is portal, I want this module (block on page) stay always on
the same place. Therefore, to present #1-5 functionality I will append 2
Parameters to link: SurveyKey and SurveyOptn. This links will be appended to
main page link.

2. On control itself I have 3web controls: checkbox list, radiobutton list
and databound (to display links for different surveys)

The problems I have so far: Unable to bind radiolist or checkbox list to my
data:

rblRadioSurvey.Visible = true;
rblRadioSurvey.DataSource = Survey.CurrentList;
rblRadioSurvey.DataBind();
// I also have DataTextField and DataValueField properly
specified on control (names of properties of objects in "CurrentList" class)
// I get error: DataBinder.Eval: 'ASPNetPortal.cSurveyData'
does not contain a property with the name SurveyOption.
// And it does have this property....

The next problem would be actually returning data.

My plan is to have XML data created and passed into SQL Stored procedure.

I have no idea how to submit data back to application. Writing code behind
on_click event for the button I place seem not working. Values get cleared
and I don't get it. Some sample code would be really helpful.

Thanks!







Nov 17 '05 #1
0 980

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

303
by: mike420 | last post by:
In the context of LATEX, some Pythonista asked what the big successes of Lisp were. I think there were at least three *big* successes. a. orbitz.com web site uses Lisp for algorithms, etc. b....
3
by: Yves Dhondt | last post by:
Hello, I've got the following UML design : C | A _____|______ B So 2 objects A and B are connected through a relation C. (For example an employment scheme : person A1 worked for company...
1
by: icedac | last post by:
I have some questions about template and c++ itself. ///////////////////////////////////////////////////////////////////////// q1) see follow c++ code, and compile. it's works only IntelC++8.1...
2
by: JG | last post by:
I am a developer and I have a problem trying to design a system to manage data coming from web surveys. Each section can potentially have dozens of questions, i.e., fields. I am focusing here only...
15
by: kimi | last post by:
I have just started working on a project that is partially complete. It is an application that is using access to store test results. The test results are being stored in two Access 2000 databases....
3
by: Andy Lim | last post by:
I'm currently working on my second web application using VS 2003/VB.NET, after moved from Dreamweaver MX. one thing that i missed so much in VS2003 is DWMX's great visual, WYSIWYG layout design,...
19
by: adriancico | last post by:
Hi I am working on a python app, an outliner(a window with a TreeCtrl on the left to select a document, and a RichTextBox at the right to edit the current doc). I am familiarized with OOP...
4
by: | last post by:
Using VS.NET I am wondering what methods developers use to deploy ASP.NET website content to a remote server, either using FTP or network file copy. Ideally there would be a one-button or...
5
by: John Sheppard | last post by:
Hello there, I was wondering if anyone knew of a newsgroup for posting schema design questions? Is it inappropriate to post design questions here? (Not really specific to sql server design) ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.