Search Articles :
 
HyperLink

 
Latest Articles
Review: Professional LINQ
Health Monitoring in ASP.NET 3.5
Using Syndication Classes to Generate RSS Feeds
Using Syndication Classes to Read RSS Feeds
Supporting Complex Types in Property Window
Using Design Time Attributes
Creating Data Bound Templated Control
Working with ADO.NET Schema APIs
ADO.NET Trace Logging
Working with the DataGridView Control
 
Latest Blog Posts
Vote for DotNetBips.com
Is Nadishodhana Kriya a must?
Yahoo mail problem today
Supporting Complex Types in Property Window
Do Not Curse Your Mind
Kriya Yoga - What's in the name?
The Stages of Spiritual Life
Developer's Guide to ASP.NET 3.5 released!
Jobs Site Starter Kit for ASP.NET 3.5 released!
Learn Kriya Yoga Online (FREE)
   

Hosted By DiscountASP.net
Developer's Guide to ASP.NET 3.5
Master ASP.NET 3.5 development using C# and Visual Studio.NET 2008. Web forms, server controls, data binding, AJAX, ASMX and WCF services and more...
Kriya Yoga for Software Developers
Importance of concentration, confidence, positive attitude, better personality and stress free life need not be emphasized separately in today's competitive world...

Easy Survey

In today’s competitive environment companies find it necessary to get feedback on their products and services. Companies also need to know the market trends, customer likings and dislikings. Often companies capture this vital information by conducting surveys about their products and services. A flexible web based survey system plays a major role in such scenarios. This code sample is a survey application using ASP.NET 2.0, VS.NET 2005 and SQL Server 2005. The download also includes a three part article in PDF format that explains the application in detail.

Features

  • Define survey definition
  • Define survey questions
  • Survey answers can be single choice, multi choice or free text
  • Send survey invitations
  • Display survey statistics

System Requirements

  • .NET Framework 2
  • Visual Studio 2005 or Visual Web Developer
  • SQL Server 2005 Express Edition

Installation Instructions

  • Download the associated ZIP file
  • Unzip it in a folder
  • Open Visual Studio and from File - Open Web Site menu option point to the above folder
  • Run the web site

Screen Shot



Associated Links
Download Source Code

Current Rating :
Rate This Article :

About the Author
Bipin Joshi
Bipin Joshi is the proprietor of BinaryIntellect Consulting where he conducts premier training programs on .NET technologies. He wears many hats including software consultant, mentor, prolific author, webmaster, Microsoft MVP and member of ASPInsiders. Having adopted Yoga way of life Bipin also teaches Kriya Yoga to the interested individuals. His detailed profile can be read at his blog. He can also be reached there.


Post your comments

Your Name :

Your Web Site (Optional) :

Subject :

Comments :


Comments
Re User Name and Password to log in Admin section
Dear Bipin,

Please let me know how to enter into admin section. as i am not able to find the username and password to log into admin section.
But anyhow its a great article which has helped me a lot
Thanks
Posted By : Neeraj Posted On : 7/9/2007
Re: Re User Name and Password to log in Admin section
Just open ASPNETDB.mdf file in server explorer to see user details. For admin they are uid=admin and pwd=pass$word
Posted By : Bipin Joshi Posted On : 7/10/2007
Re Uid/Password
Dear Bipin,

I just tried using the same user name and password, But its not working!. Can you please let me know how to get the password (aspnet_membership table) from the ASPNETDB.mdf file as its in encrypted form. Also if you can tell me how this password is getting encrypted.
And
I have applied one CreateUserWizard (Built in) on Login Page, and when i create a new user, the details gets updated into aspnet_membership table. But when i try to log in the userid/password is not accepted.The error message is get is "Your login attempt was not successful. Please try again."
Posted By : Neeraj Posted On : 7/11/2007
Re: Re Uid/Password
Just add a new user using Web Site Admin Tool (Web Site menu) and assign admin role to the user. ASP.NET by default encrypts the passwords. YOu can change that in <membership> tag of web.config.

For the second problem check if accidentally you have added any empty event handler for Login control.
Posted By : Bipin Joshi Posted On : 7/12/2007
Re Uid/ Password
Dear Bipin,
I am trying to log in with same user id and password you have given, But unfortunatly i am not able to login.
Also
I have created a new user through WebSite Administration Tool, But for him also i am not able to login.
Please let me know if any specific settings that are to be done for newly created user or old user(ADMIN)
Thanks!

Thanks
Posted By : Neeraj Posted On : 7/13/2007
Re Login
Dear Bipin,

I have just copy the code from the pdf files and runned it, even though i am not able to login. Just let me know how can i go into admin section. I am not sure where i am wrong ?
Posted By : Neeraj Posted On : 7/13/2007
Re: Re Uid/ Password
There is no specific setting to be done in the code as such.
Posted By : Bipin Joshi Posted On : 7/16/2007
Great App
Fantastic little application. Runs perfectly out of the box. Excellent documentation. If you can't get this working, it's most likely something as simple as a typo--check the spelling of your password--pass$word not password.
Posted By : Jshin Posted On : 8/28/2007
Very Nice!
My compliments. Program works great and the pdf files explain everything in detail. Great job !
Posted By : Shean Posted On : 8/30/2007
skip pattern
Hi Bipin...great application! I wanted to know is it possible to add skip pattern to current database design? Any help will be appreciated. thanks. ks
Posted By : KS Posted On : 9/5/2007
Connection String Change
Hi Bipin,

Your program works perfectly out of the box on my local pc, but I would like to change it so that databases are housed on a server. Could you post the steps necessary to make this happen? I am stuck on the connection string as I get an "invalid path" error. Thanks much for your effort. This is an excellent product!


Posted By : JC Posted On : 9/5/2007
Re: Connection String Change
1. Either attach the database supplied with the application to SQL Server 2005 or generate scripts to transfer schema and data

2. Change database connection string as follows:
data source=<sql_server_name>;initial catalog=<db_name>;user id=<uid>;password=<pwd>
Posted By : Bipin Joshi Posted On : 9/6/2007
Re: skip pattern
That will be essentially conditional checking and rendering UI accordingly rather than database structure.
Posted By : Bipin Joshi Posted On : 9/6/2007
Skip pattern
Bipin, thanks for the reply. I am designing a survey application, where next question is populated based on answer selected from the previous question. I don't know how i can design my UI? Do I have to present one question at a time or is there any way I can populate questions at run time. My question choices could be sing1e, multiple choice or text. Thanks. I really appreciate your responses.
Posted By : KS Posted On : 9/6/2007
Thank you!
I just wanted to say thanks for making this code available. I am a new developer and I will be trying this out tonight. Thanks, Mary
Posted By : Mary Posted On : 1/29/2008
Very useful for easy deployment
thank you .
Posted By : ahmetku Posted On : 4/18/2008
Copyright (C) BinaryIntellect Consulting. All rights reserved.
Contact Us
Read Terms Of Use