IntroductionMost Web masters, at one time or another, are asked to create an online survey for their company's web site. This is not a terribly difficult task with just plain HTML and traditional ASP, but suppose you'd like to be able to create a survey quickly - I mean really quickly - and you do not want to be stuck with the same look and feel you used last time Rather, you want to create a survey with completely new questions and a fresh new look and feel. That Might Be a bit time consuming, depending on how much of Your Original Code You're Able To Reuse.
Suppose there is the could be added to an asp.net web unedad a Simple Declarative Syntax Like
To add such surveys to your Web site, all you need is copy of the assembly (the .dll file, available at the end of this article) and some basic knowledge of XML. In this article I will show you how you can use WebSurvey TO Quickly and Easily Add Surveys to your Web Site. in A Future Article I Will Examine The Inner Workings of The Websurvey Control in More Detail.
Using the WebSurvey ControlGenerating a survey with the WebSurvey control is surprisingly easy. If you've ever worked with an ASP.NET Web page before, and if you can create a little bit of well-formed XML, you should have the survey up and Running in no time. to begin, you'll ued to create an asp.net page to house the Websurvey Control.
<% @ Register tagprefix = "sstchur" namespace = "sstchur.web.survey" assembly = "sstchur.web.survey"%> <% @ page language = "c #"%>